From fcd08c175787e909b3eb98f756317a07741c48dd Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Fri, 12 Feb 2016 16:41:31 -0800 Subject: Fixed #11665 -- Made TestCase check deferrable constraints after each test. --- docs/topics/testing/tools.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/topics/testing') 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 -- cgit v1.3