django/tests/test_runner
Simon Charette 315357ad25 Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled.
Prior to this change foreign key constraint references could be left pointing
at tables dropped during operations simulating unsupported table alterations
because of an unexpected failure to disable foreign key constraint checks.

SQLite3 does not allow disabling such checks while in a transaction so they
must be disabled beforehand.

Thanks ezaquarii for the report and Carlton and Tim for the review.
2018-12-15 18:51:59 -05:00
..
__init__.py
models.py Fixed #29559 -- Fixed TransactionTestCase.reset_sequences for auto-created m2m through models. 2018-07-11 17:20:29 -04:00
runner.py Removed parser.add_arguments() arguments that match the defaults. 2018-07-02 17:54:57 -04:00
test_debug_sql.py
test_discover_runner.py Reverted "Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb." 2018-12-05 15:30:23 -05:00
test_parallel.py Refs #28814 -- Fixed test_runner failure on Python 3.7. 2017-11-17 16:13:23 -05:00
tests.py Fixed #30023 -- Prevented SQLite schema alterations while foreign key checks are enabled. 2018-12-15 18:51:59 -05:00