summaryrefslogtreecommitdiff
path: root/docs/topics/testing
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2016-02-12 16:41:31 -0800
committerTim Graham <timograham@gmail.com>2016-02-13 06:53:39 -0500
commitfcd08c175787e909b3eb98f756317a07741c48dd (patch)
tree3a942d750d044adb6aed65358baca5a832eb03ff /docs/topics/testing
parenta6f856df52d532d5537191eca237de6efdffe309 (diff)
Fixed #11665 -- Made TestCase check deferrable constraints after each test.
Diffstat (limited to 'docs/topics/testing')
-rw-r--r--docs/topics/testing/tools.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt
index 5b8908c485..2bb53454cf 100644
--- a/docs/topics/testing/tools.txt
+++ b/docs/topics/testing/tools.txt
@@ -761,11 +761,18 @@ additions, including:
* Wraps the tests within two nested ``atomic`` blocks: one for the whole class
and one for each test.
+* Checks deferrable database constraints at the end of each test.
+
* Creates a TestClient instance.
* Django-specific assertions for testing for things like redirection and form
errors.
+.. versionchanged:: 1.10
+
+ The check for deferrable database constraints at the end of each test was
+ added.
+
.. classmethod:: TestCase.setUpTestData()
The class-level ``atomic`` block described above allows the creation of