summaryrefslogtreecommitdiff
path: root/tests/context_processors
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2018-07-12 00:12:20 -0400
committerTim Graham <timograham@gmail.com>2019-01-10 19:11:21 -0500
commit8c775391b78b2a4a2b57c5e89ed4888f36aada4b (patch)
tree3daeb3ef031be73079bd56e7c83f0f8f974d8f60 /tests/context_processors
parent647be06538474078ac79c1338f02f5d9bc56a79b (diff)
downloaddjango-8c775391b78b2a4a2b57c5e89ed4888f36aada4b.tar.gz
Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.
Diffstat (limited to 'tests/context_processors')
-rw-r--r--tests/context_processors/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/context_processors/tests.py b/tests/context_processors/tests.py
index 0baf806c1d..79b9ddef67 100644
--- a/tests/context_processors/tests.py
+++ b/tests/context_processors/tests.py
@@ -64,7 +64,7 @@ class DebugContextProcessorTests(TestCase):
"""
Tests for the ``django.template.context_processors.debug`` processor.
"""
- multi_db = True
+ databases = {'default', 'other'}
def test_debug(self):
url = '/debug/'