mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Doc edits for refs #22487.
This commit is contained in:
@@ -505,7 +505,7 @@ can be useful during testing.
|
||||
in-memory JSON string before running tests (used to restore the database
|
||||
state between tests if you don't have transactions). You can set this to
|
||||
False to significantly speed up creation time if you know you don't need
|
||||
data persistance outside of test fixtures.
|
||||
data persistence outside of test fixtures.
|
||||
|
||||
``keepdb`` determines if the test run should use an existing
|
||||
database, or create a new one. If ``True``, the existing
|
||||
|
||||
@@ -244,7 +244,7 @@ tests and not in ``TransactionTestCase`` tests, and additionally only on
|
||||
backends where transactions are supported (the most important exception being
|
||||
MyISAM).
|
||||
|
||||
Django can re-load that data for you on a per-testcase basis by
|
||||
Django can reload that data for you on a per-testcase basis by
|
||||
setting the ``serialized_rollback`` option to ``True`` in the body of the
|
||||
``TestCase`` or ``TransactionTestCase``, but note that this will slow down
|
||||
that test suite by approximately 3x.
|
||||
@@ -276,7 +276,6 @@ used. This behavior `may change`_ in the future.
|
||||
|
||||
.. _may change: https://code.djangoproject.com/ticket/11505
|
||||
|
||||
|
||||
Understanding the test output
|
||||
-----------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user