diff options
| author | Simon Charette <charette.s@gmail.com> | 2018-12-24 13:23:47 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-12-24 15:32:27 -0500 |
| commit | f6d8b0c47e5027037ed8c9926b1cc67d328091e6 (patch) | |
| tree | bc833ff16070fb3f7aa444b8635fe9e03bd56ceb /tests/sitemaps_tests/urls/https.py | |
| parent | 83677faf860f1a25acd667131275307abaa23fc4 (diff) | |
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.
Diffstat (limited to 'tests/sitemaps_tests/urls/https.py')
0 files changed, 0 insertions, 0 deletions
