summaryrefslogtreecommitdiff
path: root/tests/context_processors/tests.py
diff options
context:
space:
mode:
authorMounir Messelmeni <messelmeni.mounir@gmail.com>2016-04-09 14:09:08 +0200
committerTim Graham <timograham@gmail.com>2016-04-09 11:47:15 -0400
commit03e1cc930c6a5fbe993fb120e4403f3dd8a7c211 (patch)
tree45db45095ba8f50bc7c89162d5327576198e1035 /tests/context_processors/tests.py
parent9e3f141701b96b6974b3386f83dc76e70a41377d (diff)
Fixed #26145 -- Made debug context processor return queries for all databases.
Diffstat (limited to 'tests/context_processors/tests.py')
-rw-r--r--tests/context_processors/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/context_processors/tests.py b/tests/context_processors/tests.py
index de25735b5c..f9c461cad9 100644
--- a/tests/context_processors/tests.py
+++ b/tests/context_processors/tests.py
@@ -87,3 +87,5 @@ class DebugContextProcessorTests(TestCase):
self.assertContains(response, 'Second query list: 1')
# Check we have not actually memoized connection.queries
self.assertContains(response, 'Third query list: 2')
+ # Check queries for DB connection 'other'
+ self.assertContains(response, 'Fourth query list: 3')