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 2121from django .test import TestCase
2222from django .test import override_settings
2323from django .utils .timezone import is_aware
24- from moto import mock_s3
24+ from moto import mock_aws
2525
2626from storages .backends import s3
2727from tests .utils import NonSeekableContentFile
@@ -1078,10 +1078,10 @@ def test_reopening(self):
10781078 self .assertIsNone (f ._multipart )
10791079
10801080
1081- @mock_s3
1081+ @mock_aws
10821082class S3StorageTestsWithMoto (TestCase ):
10831083 """
1084- Using mock_s3 as a class decorator automatically decorates methods,
1084+ Using mock_aws as a class decorator automatically decorates methods,
10851085 but NOT classmethods or staticmethods.
10861086 """
10871087
Original file line number Diff line number Diff line change 2222 django5.0: django~=5.0.0
2323 django5.1: django~=5.1.0
2424 djangomain: https://github.com/django/django/archive/main.tar.gz
25- moto<5
25+ moto
2626 pytest
2727 pytest-cov
2828 rsa
You can’t perform that action at this time.
0 commit comments