1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/test_runner
Jon Dufresne 487d904bf2 Simplified temporary directory handling in AdminScriptTestCase.
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.
2019-02-05 12:11:54 -05:00
..
__init__.py
models.py Fixed #29559 -- Fixed TransactionTestCase.reset_sequences for auto-created m2m through models. 2018-07-11 17:20:29 -04:00
runner.py
test_debug_sql.py
test_discover_runner.py Fixed #28478 -- Make DiscoverRunner skip creating unused test databases. 2019-01-10 19:11:21 -05:00
test_parallel.py
tests.py Simplified temporary directory handling in AdminScriptTestCase. 2019-02-05 12:11:54 -05:00