1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +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:
Tim Graham
2017-02-10 08:19:32 -05:00
committed by GitHub
parent bece837829
commit ab83d4d8fe
7 changed files with 8 additions and 9 deletions

View File

@@ -64,6 +64,7 @@ class DebugContextProcessorTests(TestCase):
"""
Tests for the ``django.template.context_processors.debug`` processor.
"""
multi_db = True
def test_debug(self):
url = '/debug/'