|
@@ -386,6 +386,15 @@ class TestCollectionManifestStorage(TestHashedFiles, CollectionTestCase):
|
|
|
)
|
|
|
|
|
|
|
|
|
+@override_settings(STATICFILES_STORAGE='staticfiles_tests.storage.NoneHashStorage')
|
|
|
+class TestCollectionNoneHashStorage(CollectionTestCase):
|
|
|
+ hashed_file_path = hashed_file_path
|
|
|
+
|
|
|
+ def test_hashed_name(self):
|
|
|
+ relpath = self.hashed_file_path('cached/styles.css')
|
|
|
+ self.assertEqual(relpath, 'cached/styles.css')
|
|
|
+
|
|
|
+
|
|
|
@override_settings(STATICFILES_STORAGE='staticfiles_tests.storage.SimpleStorage')
|
|
|
class TestCollectionSimpleStorage(CollectionTestCase):
|
|
|
hashed_file_path = hashed_file_path
|