From bfd8f16fbdae1aeaa4d5076721238c041d582e82 Mon Sep 17 00:00:00 2001 From: Chris Jerdonek Date: Thu, 4 Aug 2016 11:29:59 -0700 Subject: [1.10.x] Edited docs of test.utils.setup/teardown_test_environment(). Backport of 42f9d65107692528583786a0695e26e2cbfc51a0 from master --- docs/topics/testing/advanced.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'docs/topics/testing') diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 754904e1d0..dacf858db2 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -545,15 +545,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`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3