mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
f6d8b0c47e
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. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
runner.py | ||
test_debug_sql.py | ||
test_discover_runner.py | ||
test_parallel.py | ||
tests.py |