diff options
Diffstat (limited to 'tests/staticfiles_tests/tests.py')
| -rw-r--r-- | tests/staticfiles_tests/tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index e7c1383373..a218194e4c 100644 --- a/tests/staticfiles_tests/tests.py +++ b/tests/staticfiles_tests/tests.py @@ -362,7 +362,8 @@ class TestCollectionNonLocalStorage(CollectionTestCase, TestNoFilesCreated): # we set DEBUG to False here since the template tag wouldn't work otherwise -@override_settings(**dict(TEST_SETTINGS, +@override_settings(**dict( + TEST_SETTINGS, STATICFILES_STORAGE='django.contrib.staticfiles.storage.CachedStaticFilesStorage', DEBUG=False, )) @@ -569,7 +570,8 @@ class TestCollectionCachedStorage(BaseCollectionTestCase, # we set DEBUG to False here since the template tag wouldn't work otherwise -@override_settings(**dict(TEST_SETTINGS, +@override_settings(**dict( + TEST_SETTINGS, STATICFILES_STORAGE='staticfiles_tests.storage.SimpleCachedStaticFilesStorage', DEBUG=False, )) |
