Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split contrib.frontend_cache.backends.py into dedicated sub-modules #11977

Merged
merged 3 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wagtail/api/v2/tests/test_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ def test_find_by_id_nonexistent(self):
},
WAGTAILAPI_BASE_URL="http://api.example.com",
)
@mock.patch("wagtail.contrib.frontend_cache.backends.HTTPBackend.purge")
@mock.patch("wagtail.contrib.frontend_cache.backends.http.HTTPBackend.purge")
class TestDocumentCacheInvalidation(TestCase):
fixtures = ["demosite.json"]

Expand Down
2 changes: 1 addition & 1 deletion wagtail/api/v2/tests/test_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def test_find_by_id_nonexistent(self):
},
WAGTAILAPI_BASE_URL="http://api.example.com",
)
@mock.patch("wagtail.contrib.frontend_cache.backends.HTTPBackend.purge")
@mock.patch("wagtail.contrib.frontend_cache.backends.http.HTTPBackend.purge")
class TestImageCacheInvalidation(TestCase):
fixtures = ["demosite.json"]

Expand Down
2 changes: 1 addition & 1 deletion wagtail/api/v2/tests/test_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ def test_image_block_with_custom_get_api_representation(self):
},
WAGTAILAPI_BASE_URL="http://api.example.com",
)
@mock.patch("wagtail.contrib.frontend_cache.backends.HTTPBackend.purge")
@mock.patch("wagtail.contrib.frontend_cache.backends.http.HTTPBackend.purge")
class TestPageCacheInvalidation(TestCase):
fixtures = ["demosite.json"]

Expand Down
Loading
Loading