mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28606 -- Deprecated CachedStaticFilesStorage.
This commit is contained in:
@@ -201,13 +201,13 @@ class TestCollectionVerbosity(CollectionTestCase):
|
||||
self.assertIn(self.staticfiles_copied_msg, output)
|
||||
self.assertIn(self.copying_msg, output)
|
||||
|
||||
@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.CachedStaticFilesStorage')
|
||||
@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.ManifestStaticFilesStorage')
|
||||
def test_verbosity_1_with_post_process(self):
|
||||
stdout = StringIO()
|
||||
self.run_collectstatic(verbosity=1, stdout=stdout, post_process=True)
|
||||
self.assertNotIn(self.post_process_msg, stdout.getvalue())
|
||||
|
||||
@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.CachedStaticFilesStorage')
|
||||
@override_settings(STATICFILES_STORAGE='django.contrib.staticfiles.storage.ManifestStaticFilesStorage')
|
||||
def test_verbosity_2_with_post_process(self):
|
||||
stdout = StringIO()
|
||||
self.run_collectstatic(verbosity=2, stdout=stdout, post_process=True)
|
||||
|
||||
Reference in New Issue
Block a user