feat!: upgrading django-storages to 1.11.1

This commit is contained in:
Awais Qureshi
2023-08-31 14:21:24 +05:00
committed by GitHub
parent ee4e56124c
commit 9db024c435
12 changed files with 22 additions and 23 deletions

View File

@@ -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',
}
)