mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Use tempfile.TemporaryDirectory() in AdminScriptTestCase.setUp() to create and destroy a temporary directory for each test. It removes the need for individual tests to delete files. For test classes that don't use the temporary directory, inherit from SimpleTestCase. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| runner.py | ||
| test_debug_sql.py | ||
| test_discover_runner.py | ||
| test_parallel.py | ||
| tests.py | ||