django/tests/file_storage
Nick Pope b373721af0 Fixed flakiness in file_storage.tests.CustomStorageTests.test_file_get_accessed_time.
Two separate calls to look up access time can result in sub-second
differences which cause the test to fail.

Also made the equivalent tests for ctime and mtime have the same
changes to ensure that they won't flake in the same way in future.
2025-05-23 11:23:47 -03:00
..
__init__.py Removed unneeded imports in tests's __init__.py and unified them. 2013-09-09 23:01:07 +02:00
models.py Fixed #35740 -- Fixed FileFieldStorageTests.test_extended_length_storage when using bcachefs. 2025-01-03 08:40:48 +01:00
test_base.py Fixed CVE-2024-39330 -- Added extra file name validation in Storage's save method. 2024-07-09 09:21:19 -03:00
test_generate_filename.py Fixed #35604, Refs #35326 -- Made FileSystemStorage.exists() behaviour independent from allow_overwrite. 2024-07-24 14:55:10 +02:00
test_inmemory_storage.py Fixed some typos in comments, docstrings, and tests. 2023-03-20 08:07:23 +01:00
tests.py Fixed flakiness in file_storage.tests.CustomStorageTests.test_file_get_accessed_time. 2025-05-23 11:23:47 -03:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00