0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
django/tests/admin_scripts
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
..
another_app_waiting_migration Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
app_raising_messages Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
app_raising_warning Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
app_waiting_migration Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
app_with_import
broken_app
complex_app Refs #23919 -- Removed obsolete __init__.py files in management command directories. 2018-01-03 11:02:26 -05:00
custom_templates Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix. 2016-01-25 12:39:06 -05:00
management/commands Refs #23919 -- Removed obsolete __init__.py files in management command directories. 2018-01-03 11:02:26 -05:00
simple_app Refs #23919 -- Removed obsolete __init__.py files in management command directories. 2018-01-03 11:02:26 -05:00
__init__.py
configured_settings_manage.py Fixed #30057 -- Fixed diffsettings ignoring custom configured settings. 2019-01-12 11:07:03 -05:00
tests.py Simplified temporary directory handling in AdminScriptTestCase. 2019-02-05 12:11:54 -05:00
urls.py Updated test URL patterns to use path() and re_path(). 2018-12-31 10:47:32 -05:00