mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +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
|
@ -334,6 +334,7 @@ class OtherRouter:
|
|||
@skipUnlessDBFeature("gis_enabled")
|
||||
@override_settings(DATABASE_ROUTERS=[OtherRouter()])
|
||||
class LayerMapRouterTest(TestCase):
|
||||
multi_db = True
|
||||
|
||||
@unittest.skipUnless(len(settings.DATABASES) > 1, 'multiple databases required')
|
||||
def test_layermapping_default_db(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue