1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #11665 -- Made TestCase check deferrable constraints after each test.

This commit is contained in:
Jon Dufresne
2016-02-12 16:41:31 -08:00
committed by Tim Graham
parent a6f856df52
commit fcd08c1757
5 changed files with 50 additions and 2 deletions

View File

@@ -333,7 +333,8 @@ Templates
Tests
~~~~~
* ...
* To better catch bugs, :class:`~django.test.TestCase` now checks deferrable
database constraints at the end of each test.
URLs
~~~~
@@ -541,6 +542,9 @@ Miscellaneous
aggregate function now returns a ``float`` instead of ``decimal.Decimal``.
(It's still wrapped in a measure of square meters.)
* Tests that violate deferrable database constraints will now error when run on
a database that supports deferrable constraints.
.. _deprecated-features-1.10:
Features deprecated in 1.10