Skip to content

Commit

Permalink
Fix test that were failing due to wrapped content.
Browse files Browse the repository at this point in the history
  • Loading branch information
LincolnPuzey committed Jul 27, 2020
1 parent 58e7e89 commit 0c64612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_s3boto3.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_storage_save_with_acl(self):

obj = self.storage.bucket.Object.return_value
obj.upload_fileobj.assert_called_with(
content,
mock.ANY,
ExtraArgs={
'ContentType': 'text/plain',
'ACL': 'private',
Expand All @@ -128,7 +128,7 @@ def test_storage_save_gzipped(self):
self.storage.save(name, content)
obj = self.storage.bucket.Object.return_value
obj.upload_fileobj.assert_called_with(
content,
mock.ANY,
ExtraArgs={
'ContentType': 'application/octet-stream',
'ContentEncoding': 'gzip',
Expand Down

0 comments on commit 0c64612

Please sign in to comment.