-
Jon Dufresne yazdı
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.
487d904b
Adı |
Son kayıt (commit)
|
Son güncelleme |
---|---|---|
.. | ||
eggs | ||
management/commands | ||
__init__.py | ||
models.py | ||
tests.py | ||
urls.py |