django1/tests/test_runner
Simon Charette f6d8b0c47e Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test.
The test was expecting connections used by DiscoverRunner.setup_databases()
to be the ones defined in django.test.runner but this doesn't hold true
since this method was made a proxy of django.test.utils.setup_databases.

This broke the TransactionTestCase.serialized_rollback feature in the test
suite because calls to create_db_test() cleared the test data persisted on
connections objects.

Added an assertions to prevent this from happening again.
2018-12-24 15:32:27 -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 Fixed #27857 -- Dropped support for Python 3.4. 2017-09-25 17:11:03 -04:00
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 Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test. 2018-12-24 15:32:27 -05:00