Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)

This reverts commit 9281ea4a9a.
This commit is contained in:
Awais Qureshi
2023-08-28 14:05:38 +05:00
committed by GitHub
parent 07de29f721
commit 191b825a2c
12 changed files with 23 additions and 22 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, 'location': 'abc/def'}}
{'bucket_name': 'test', 'default_acl': None, 'base_url': '/', 'location': 'abc/def'}}
)
def test_boto3_backend_with_params(self):
storage = get_storage_class(
@@ -417,6 +417,7 @@ class S3Boto3TestCase(TestCase):
obj.upload_fileobj.assert_called_with(
content,
ExtraArgs={
'ACL': 'public-read', # it will come from 1.9.1
'ContentType': 'text/plain',
}
)