1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/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
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
tests.py Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test. 2018-12-24 15:32:27 -05:00