mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 13:47:27 +00:00
fix ignore public acls with py3 compatible code
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
This commit is contained in:
parent
3b1571ace6
commit
4d675235dd
1 changed files with 1 additions and 1 deletions
|
@ -12687,7 +12687,7 @@ def test_ignore_public_acls():
|
||||||
|
|
||||||
client.put_object(Bucket=bucket_name,Key='key1',Body='abcde',ACL='public-read')
|
client.put_object(Bucket=bucket_name,Key='key1',Body='abcde',ACL='public-read')
|
||||||
resp=alt_client.get_object(Bucket=bucket_name, Key='key1')
|
resp=alt_client.get_object(Bucket=bucket_name, Key='key1')
|
||||||
eq(resp['Body'].read(), 'abcde')
|
eq(_get_body(resp), 'abcde')
|
||||||
|
|
||||||
access_conf = {'BlockPublicAcls': False,
|
access_conf = {'BlockPublicAcls': False,
|
||||||
'IgnorePublicAcls': True,
|
'IgnorePublicAcls': True,
|
||||||
|
|
Loading…
Reference in a new issue