From e33702fbac00775538d1320500304aef32ae52db Mon Sep 17 00:00:00 2001 From: Jack Danger Date: Sat, 16 Sep 2017 12:39:19 -0700 Subject: [PATCH] using deprecated mock just to patch requests library --- tests/test_s3/test_s3.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_s3/test_s3.py b/tests/test_s3/test_s3.py index f7898fcb4..74cbfa310 100644 --- a/tests/test_s3/test_s3.py +++ b/tests/test_s3/test_s3.py @@ -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')