fix ignore public acls with py3 compatible code

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 4d675235dd)
This commit is contained in:
Abhishek Lekshmanan 2020-01-22 17:06:09 +01:00
parent 4fc133b1b5
commit 7b3df700cc

View file

@ -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,