Skip to content

Commit 6acc678

Browse files
committed
Add moto5 support
1 parent f029e50 commit 6acc678

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_s3.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from django.test import TestCase
2222
from django.test import override_settings
2323
from django.utils.timezone import is_aware
24-
from moto import mock_s3
24+
from moto import mock_aws
2525

2626
from storages.backends import s3
2727
from tests.utils import NonSeekableContentFile
@@ -1070,10 +1070,10 @@ def test_reopening(self):
10701070
self.assertIsNone(f._multipart)
10711071

10721072

1073-
@mock_s3
1073+
@mock_aws
10741074
class S3StorageTestsWithMoto(TestCase):
10751075
"""
1076-
Using mock_s3 as a class decorator automatically decorates methods,
1076+
Using mock_aws as a class decorator automatically decorates methods,
10771077
but NOT classmethods or staticmethods.
10781078
"""
10791079

0 commit comments

Comments
 (0)