Fix S3 bucket policy delete. Closes #396.
This commit is contained in:
parent
6b2f54604e
commit
323f720cb5
3 changed files with 25 additions and 13 deletions
|
|
@ -871,6 +871,11 @@ def test_policy():
|
|||
|
||||
bucket.get_policy().decode('utf-8').should.equal(policy)
|
||||
|
||||
bucket.delete_policy()
|
||||
|
||||
with assert_raises(S3ResponseError) as err:
|
||||
bucket.get_policy()
|
||||
|
||||
|
||||
"""
|
||||
boto3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue