File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
from django .test import TestCase
22
22
from django .test import override_settings
23
23
from django .utils .timezone import is_aware
24
- from moto import mock_s3
24
+ from moto import mock_aws
25
25
26
26
from storages .backends import s3
27
27
from tests .utils import NonSeekableContentFile
@@ -1078,10 +1078,10 @@ def test_reopening(self):
1078
1078
self .assertIsNone (f ._multipart )
1079
1079
1080
1080
1081
- @mock_s3
1081
+ @mock_aws
1082
1082
class S3StorageTestsWithMoto (TestCase ):
1083
1083
"""
1084
- Using mock_s3 as a class decorator automatically decorates methods,
1084
+ Using mock_aws as a class decorator automatically decorates methods,
1085
1085
but NOT classmethods or staticmethods.
1086
1086
"""
1087
1087
Original file line number Diff line number Diff line change 22
22
django5.0: django~=5.0.0
23
23
django5.1: django~=5.1.0
24
24
djangomain: https://github.com/django/django/archive/main.tar.gz
25
- moto<5
25
+ moto
26
26
pytest
27
27
pytest-cov
28
28
rsa
You can’t perform that action at this time.
0 commit comments