diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-02-05 09:11:54 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-02-05 12:11:54 -0500 |
| commit | 487d904bf253de2f5633f181a168f94086bcd6cb (patch) | |
| tree | b5b8bbe9e05ac5c4f978c9ede6061737f210322d /docs | |
| parent | 099c36d546cda842b44a93067d45e146e4ae77e5 (diff) | |
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.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
