forked from TrueCloudLab/s3-tests
cleanup duplicate lines
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d13ed28a5c
)
This commit is contained in:
parent
3d8fa8179d
commit
bb4158dec6
1 changed files with 0 additions and 5 deletions
|
@ -1807,7 +1807,6 @@ def test_object_set_get_unicode_metadata():
|
|||
client.put_object(Bucket=bucket_name, Key='foo', Body='bar')
|
||||
|
||||
response = client.get_object(Bucket=bucket_name, Key='foo')
|
||||
got = response['Metadata']['meta1'].decode('utf-8')
|
||||
got = response['Metadata']['meta1']
|
||||
print(got)
|
||||
print(u"Hello World\xe9")
|
||||
|
@ -12055,7 +12054,6 @@ def test_get_bucket_policy_status():
|
|||
def test_get_public_acl_bucket_policy_status():
|
||||
bucket_name = get_new_bucket()
|
||||
client = get_client()
|
||||
client = get_client()
|
||||
client.put_bucket_acl(Bucket=bucket_name, ACL='public-read')
|
||||
resp = client.get_bucket_policy_status(Bucket=bucket_name)
|
||||
assert resp['PolicyStatus']['IsPublic'] == True
|
||||
|
@ -12063,7 +12061,6 @@ def test_get_public_acl_bucket_policy_status():
|
|||
def test_get_authpublic_acl_bucket_policy_status():
|
||||
bucket_name = get_new_bucket()
|
||||
client = get_client()
|
||||
client = get_client()
|
||||
client.put_bucket_acl(Bucket=bucket_name, ACL='authenticated-read')
|
||||
resp = client.get_bucket_policy_status(Bucket=bucket_name)
|
||||
assert resp['PolicyStatus']['IsPublic'] == True
|
||||
|
@ -12072,7 +12069,6 @@ def test_get_authpublic_acl_bucket_policy_status():
|
|||
def test_get_publicpolicy_acl_bucket_policy_status():
|
||||
bucket_name = get_new_bucket()
|
||||
client = get_client()
|
||||
client = get_client()
|
||||
|
||||
resp = client.get_bucket_policy_status(Bucket=bucket_name)
|
||||
assert resp['PolicyStatus']['IsPublic'] == False
|
||||
|
@ -12101,7 +12097,6 @@ def test_get_publicpolicy_acl_bucket_policy_status():
|
|||
def test_get_nonpublicpolicy_acl_bucket_policy_status():
|
||||
bucket_name = get_new_bucket()
|
||||
client = get_client()
|
||||
client = get_client()
|
||||
|
||||
resp = client.get_bucket_policy_status(Bucket=bucket_name)
|
||||
assert resp['PolicyStatus']['IsPublic'] == False
|
||||
|
|
Loading…
Reference in a new issue