summaryrefslogtreecommitdiff
path: root/tests/check_framework
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-10 08:19:32 -0500
committerGitHub <noreply@github.com>2017-02-10 08:19:32 -0500
commitab83d4d8fe76c2c6bc3b0a96aa2baed9c9f07f19 (patch)
tree6564a7f124afe5fd99173f1cbe6c8d1762b2fd90 /tests/check_framework
parentbece837829eafbc22f2598dadf82c9a8364b085a (diff)
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.
Diffstat (limited to 'tests/check_framework')
-rw-r--r--tests/check_framework/test_database.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check_framework/test_database.py b/tests/check_framework/test_database.py
index 80824ab8e0..2dff3aaca4 100644
--- a/tests/check_framework/test_database.py
+++ b/tests/check_framework/test_database.py
@@ -8,6 +8,8 @@ from django.test import TestCase
class DatabaseCheckTests(TestCase):
+ multi_db = True
+
@property
def func(self):
from django.core.checks.database import check_database_backends