Ticket #23947: static_files.diff
File static_files.diff, 575 bytes (added by , 10 years ago) |
---|
-
tests/staticfiles_tests/tests.py
diff --git a/tests/staticfiles_tests/tests.py b/tests/staticfiles_tests/tests.py index 5dc630f..ffce4d0 100644
a b def hashed_file_path(test, path): 438 438 class TestHashedFiles(object): 439 439 hashed_file_path = hashed_file_path 440 440 441 def tearDown(self): 442 # Clear hashed files to avoid side effects among tests. 443 storage.staticfiles_storage.hashed_files.clear() 444 441 445 def test_template_tag_return(self): 442 446 """ 443 447 Test the CachedStaticFilesStorage backend.