feat!: upgrading django-storages to 1.11.1
This commit is contained in:
@@ -389,7 +389,7 @@ class S3Boto3TestCase(TestCase):
|
||||
@override_settings(VIDEO_IMAGE_SETTINGS={
|
||||
'STORAGE_CLASS': 'storages.backends.s3boto3.S3Boto3Storage',
|
||||
'STORAGE_KWARGS':
|
||||
{'bucket_name': 'test', 'default_acl': None, 'base_url': '/', 'location': 'abc/def'}}
|
||||
{'bucket_name': 'test', 'default_acl': None, 'location': 'abc/def'}}
|
||||
)
|
||||
def test_boto3_backend_with_params(self):
|
||||
storage = get_storage_class(
|
||||
@@ -417,7 +417,6 @@ class S3Boto3TestCase(TestCase):
|
||||
obj.upload_fileobj.assert_called_with(
|
||||
content,
|
||||
ExtraArgs={
|
||||
'ACL': 'public-read', # it will come from 1.9.1
|
||||
'ContentType': 'text/plain',
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user