mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
487d904bf2
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 | ||
logconfig.py | ||
tests.py | ||
urls_i18n.py | ||
urls.py | ||
views.py |