Skip to content

Commit

Permalink
Fix test failures on moto
Browse files Browse the repository at this point in the history
  • Loading branch information
katdom13 committed Jun 14, 2024
1 parent ed83be6 commit b71e895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wagtail_storages/tests/test_wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

from django.test import RequestFactory, TestCase, override_settings

from moto import mock_s3
from moto import mock_aws

from wagtail_storages.factories import CollectionViewRestrictionFactory, DocumentFactory
from wagtail_storages.tests.base import CreateBucket
from wagtail_storages.wagtail_hooks import serve_document_from_s3


@mock_s3
@mock_aws
class TestWagtailHooks(CreateBucket, TestCase):
@override_settings(
DEFAULT_FILE_STORAGE="django.core.files.storage.FileSystemStorage"
Expand Down

0 comments on commit b71e895

Please sign in to comment.