mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.
Thanks zalew for the suggestion and work on a patch. Also updated, tweaked and fixed testing documentation.
This commit is contained in:
@@ -299,7 +299,7 @@ requests. These include:
|
||||
in tests.
|
||||
|
||||
* A new test assertion --
|
||||
:meth:`~django.test.TestCase.assertNumQueries` -- making it
|
||||
:meth:`~django.test.TransactionTestCase.assertNumQueries` -- making it
|
||||
easier to test the database activity associated with a view.
|
||||
|
||||
* Support for lookups spanning relations in admin's
|
||||
|
||||
Reference in New Issue
Block a user