mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Edited docs of test.utils.setup/teardown_test_environment().
This commit is contained in:
parent
cdf54db6c5
commit
42f9d65107
2 changed files with 10 additions and 15 deletions
|
@ -607,15 +607,13 @@ utility methods in the ``django.test.utils`` module.
|
|||
|
||||
.. function:: setup_test_environment()
|
||||
|
||||
Performs any global pre-test setup, such as the installing the
|
||||
instrumentation of the template rendering system and setting up
|
||||
the dummy email outbox.
|
||||
Performs global pre-test setup, such as installing instrumentation for the
|
||||
template rendering system and setting up the dummy email outbox.
|
||||
|
||||
.. function:: teardown_test_environment()
|
||||
|
||||
Performs any global post-test teardown, such as removing the black
|
||||
magic hooks into the template system and restoring normal email
|
||||
services.
|
||||
Performs global post-test teardown, such as removing instrumentation from
|
||||
the template system and restoring normal email services.
|
||||
|
||||
``django.db.connection.creation``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue