mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Added multi_db=True to test cases that access the 'other' db connection.
Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.
This commit is contained in:
parent
bece837829
commit
ab83d4d8fe
7 changed files with 8 additions and 9 deletions
|
@ -18,6 +18,7 @@ class MigrationTestBase(TransactionTestCase):
|
|||
"""
|
||||
|
||||
available_apps = ["migrations"]
|
||||
multi_db = True
|
||||
|
||||
def tearDown(self):
|
||||
# Reset applied-migrations state.
|
||||
|
|
|
@ -11,6 +11,7 @@ class RecorderTests(TestCase):
|
|||
"""
|
||||
Tests recording migrations as applied or not.
|
||||
"""
|
||||
multi_db = True
|
||||
|
||||
def test_apply(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue