Fixed #23421 -- Corrected TEST SERIALIZE setting.

Thanks gkoller for the report.
This commit is contained in:
Tim Graham 2014-09-15 11:17:12 -04:00
parent c692e37b63
commit a4f23eba2e
5 changed files with 88 additions and 31 deletions

View file

@ -683,6 +683,19 @@ test database will use the name ``'test_' + DATABASE_NAME``.
See :ref:`the-test-database`.
.. setting:: TEST_SERIALIZE
SERIALIZE
^^^^^^^^^
.. versionadded:: 1.7.1
Boolean value to control whether or not the default test runnner serializes the
database into an 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 speed up creation time if you don't have any test classes
with :ref:`serialized_rollback=True <test-case-serialized-rollback>`.
.. setting:: TEST_CREATE
CREATE_DB