mirror of https://github.com/django/django.git
Merge pull request #2067 from dominicrodger/master
Moving notes for assertNumQueries next to the other changes to test infrastructure
This commit is contained in:
commit
99b7d74914
|
@ -534,6 +534,9 @@ Tests
|
|||
in :class:`~django.test.Client` instantiation and are processed through
|
||||
middleware.
|
||||
|
||||
* :meth:`~django.test.TransactionTestCase.assertNumQueries` now prints
|
||||
out the list of executed queries if the assertion fails.
|
||||
|
||||
Backwards incompatible changes in 1.7
|
||||
=====================================
|
||||
|
||||
|
@ -713,9 +716,6 @@ Miscellaneous
|
|||
``select_related('foo').select_related('bar')``. Previously the latter would
|
||||
have been equivalent to ``select_related('bar')``.
|
||||
|
||||
* :meth:`~django.test.TransactionTestCase.assertNumQueries` now prints
|
||||
out the list of executed queries if the assertion fails.
|
||||
|
||||
Features deprecated in 1.7
|
||||
==========================
|
||||
|
||||
|
|
Loading…
Reference in New Issue