1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/staticfiles_tests
Jon Dufresne 359be1c870 Fixed #26691 -- Removed checking for a file's existence before deleting.
File operations always raise a ENOENT error when a file doesn't exist.
Checking the file exists before the operation adds a race condition
condition where the file could be removed between operations. As the
operation already raises an error on a missing file, avoid this race and
avoid checking the file exists twice. Instead only check a file exists
by catching the ENOENT error.
2016-05-31 12:03:27 -04:00
..
apps Fixed #20189 -- Allowed customizing staticfiles ignored_patterns list 2016-04-22 09:56:06 +02:00
project Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions 2016-03-30 14:34:41 +02:00
urls
__init__.py
cases.py Cleaned class inheritances in staticfiles tests 2016-03-28 19:46:03 +02:00
settings.py Cleaned class inheritances in staticfiles tests 2016-03-28 19:46:03 +02:00
storage.py Fixed #26691 -- Removed checking for a file's existence before deleting. 2016-05-31 12:03:27 -04:00
test_finders.py Cleaned class inheritances in staticfiles tests 2016-03-28 19:46:03 +02:00
test_forms.py Refs #21221 -- Added test for legacy static usage in form Media. 2016-01-19 06:57:20 -05:00
test_liveserver.py Fixed many spelling mistakes in code, comments, and docs. 2015-12-03 12:48:24 -05:00
test_management.py Fixed #20189 -- Allowed customizing staticfiles ignored_patterns list 2016-04-22 09:56:06 +02:00
test_storage.py Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions 2016-03-30 14:34:41 +02:00
test_templatetags.py Fixed #24982 -- Split staticfiles tests into multiple files 2015-07-01 09:41:27 -04:00
test_views.py Cleaned class inheritances in staticfiles tests 2016-03-28 19:46:03 +02:00