mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28607 -- Prevented duplicates in HashedFilesMixin post-processing results.
Thanks Ed Morley for the implementation idea.
This commit is contained in:
committed by
Mariusz Felisiak
parent
179ee13eb3
commit
337cd652a5
@@ -203,6 +203,8 @@ class TestHashedFiles:
|
||||
self.assertIn(os.path.join('cached', 'css', 'window.css'), stats['post_processed'])
|
||||
self.assertIn(os.path.join('cached', 'css', 'img', 'window.png'), stats['unmodified'])
|
||||
self.assertIn(os.path.join('test', 'nonascii.css'), stats['post_processed'])
|
||||
# No file should be yielded twice.
|
||||
self.assertCountEqual(stats['post_processed'], set(stats['post_processed']))
|
||||
self.assertPostCondition()
|
||||
|
||||
def test_css_import_case_insensitive(self):
|
||||
|
||||
Reference in New Issue
Block a user