using deprecated mock just to patch requests library
This commit is contained in:
parent
802279d7c4
commit
e33702fbac
1 changed files with 2 additions and 0 deletions
|
|
@ -864,6 +864,7 @@ def test_bucket_acl_switching():
|
|||
g.permission == 'READ' for g in grants), grants
|
||||
|
||||
|
||||
@mock_s3_deprecated
|
||||
@mock_s3
|
||||
def test_s3_object_in_public_bucket():
|
||||
s3 = boto3.resource('s3')
|
||||
|
|
@ -879,6 +880,7 @@ def test_s3_object_in_public_bucket():
|
|||
response.status_code.should.equal(403)
|
||||
|
||||
|
||||
@mock_s3_deprecated
|
||||
@mock_s3
|
||||
def test_s3_object_in_private_bucket():
|
||||
s3 = boto3.resource('s3')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue