mirror of
https://github.com/django/django.git
synced 2025-11-11 16:23:59 +00:00
Fixed typo in docs/topics/testing/tools.txt.
This commit is contained in:
parent
8b7347220f
commit
7ce4ef58c9
1 changed files with 1 additions and 1 deletions
|
|
@ -637,7 +637,7 @@ to test the effects of commit and rollback:
|
||||||
used in ``TestCase``, no actual commit or rollback will be performed by the
|
used in ``TestCase``, no actual commit or rollback will be performed by the
|
||||||
database. This can cause your tests to pass or fail unexpectedly. Always
|
database. This can cause your tests to pass or fail unexpectedly. Always
|
||||||
use ``TransactionTestCase`` when testing transactional behavior or any code
|
use ``TransactionTestCase`` when testing transactional behavior or any code
|
||||||
that can't normally be excuted in autocommit mode
|
that can't normally be executed in autocommit mode
|
||||||
(:meth:`~django.db.models.query.QuerySet.select_for_update()` is an
|
(:meth:`~django.db.models.query.QuerySet.select_for_update()` is an
|
||||||
example).
|
example).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue