1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Removed unused TestHashedFiles._max_post_process_passes.

Unused since f1894bae30
This commit is contained in:
Mariusz Felisiak 2021-05-06 12:26:25 +02:00 committed by GitHub
parent 29779075d7
commit 65a9d0013d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,14 +27,9 @@ def hashed_file_path(test, path):
class TestHashedFiles:
hashed_file_path = hashed_file_path
def setUp(self):
self._max_post_process_passes = storage.staticfiles_storage.max_post_process_passes
super().setUp()
def tearDown(self):
# Clear hashed files to avoid side effects among tests.
storage.staticfiles_storage.hashed_files.clear()
storage.staticfiles_storage.max_post_process_passes = self._max_post_process_passes
def assertPostCondition(self):
"""