From 7b3df700cc589bb7e6932e677371063fadf0f775 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Wed, 22 Jan 2020 17:06:09 +0100 Subject: [PATCH] fix ignore public acls with py3 compatible code Signed-off-by: Abhishek Lekshmanan (cherry picked from commit 4d675235ddc12478a0075fe937e2e4919f0ad5b9) --- s3tests_boto3/functional/test_s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 36f0160..aaf885b 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -12687,7 +12687,7 @@ def test_ignore_public_acls(): client.put_object(Bucket=bucket_name,Key='key1',Body='abcde',ACL='public-read') resp=alt_client.get_object(Bucket=bucket_name, Key='key1') - eq(resp['Body'].read(), 'abcde') + eq(_get_body(resp), 'abcde') access_conf = {'BlockPublicAcls': False, 'IgnorePublicAcls': True,