summaryrefslogtreecommitdiff
path: root/tests/multiple_database
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-11-26 14:05:02 -0500
committerTim Graham <timograham@gmail.com>2018-11-27 08:58:44 -0500
commit193c109327c5216cab1d4eed6bfdff24629b09a3 (patch)
tree3428f61d610f51349df5ab6eb26a4876b54878c5 /tests/multiple_database
parentf091ea35150d95fc6732bbf0c27b971dd445509a (diff)
downloaddjango-193c109327c5216cab1d4eed6bfdff24629b09a3.tar.gz
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/multiple_database')
-rw-r--r--tests/multiple_database/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py
index e4cef8cdb9..b447be575c 100644
--- a/tests/multiple_database/tests.py
+++ b/tests/multiple_database/tests.py
@@ -2091,7 +2091,7 @@ class NoRelationRouter:
@override_settings(DATABASE_ROUTERS=[NoRelationRouter()])
-class RelationAssignmentTests(TestCase):
+class RelationAssignmentTests(SimpleTestCase):
"""allow_relation() is called with unsaved model instances."""
multi_db = True
router_prevents_msg = 'the current database router prevents this relation'