assert error_code == 'InvalidArgument'
@pytest.mark.auth_aws2
+@pytest.mark.fails_on_rgw
def test_bucket_create_bad_ua_empty_aws2():
v2_client = get_v2_client()
headers = {'User-Agent': ''}
_add_header_create_bucket(headers, v2_client)
@pytest.mark.auth_aws2
+@pytest.mark.fails_on_rgw
def test_bucket_create_bad_ua_none_aws2():
v2_client = get_v2_client()
remove = 'User-Agent'
method='get_object',
)
+@pytest.mark.fails_on_rgw
def test_cors_presigned_get_object_v2():
_test_cors_options_presigned_method(
client=get_v2_client(),
method='get_object',
)
+@pytest.mark.fails_on_rgw
def test_cors_presigned_get_object_tenant_v2():
_test_cors_options_presigned_method(
client=get_v2_tenant_client(),
cannedACL='private',
)
+@pytest.mark.fails_on_rgw
def test_cors_presigned_put_object_v2():
_test_cors_options_presigned_method(
client=get_v2_client(),
method='put_object',
)
+@pytest.mark.fails_on_rgw
def test_cors_presigned_put_object_tenant_v2():
_test_cors_options_presigned_method(
client=get_v2_tenant_client(),