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
project
urls
__init__.py
cases.py
settings.py
storage.py Fixed #26691 -- Removed checking for a file's existence before deleting. 2016-05-31 12:03:27 -04:00
test_finders.py
test_forms.py
test_liveserver.py
test_management.py
test_storage.py Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions 2016-03-30 14:34:41 +02:00
test_templatetags.py
test_views.py