From d13ed28a5c1a4e4a694eb6950a7be687050d385c Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Sat, 21 Jan 2023 19:48:29 -0500 Subject: [PATCH] cleanup duplicate lines Signed-off-by: Casey Bodley --- s3tests_boto3/functional/test_s3.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 4b89623..5b77e2f 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -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