summaryrefslogtreecommitdiff
path: root/tests/check_framework
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/check_framework
parentf091ea35150d95fc6732bbf0c27b971dd445509a (diff)
Switched TestCase to SimpleTestCase where possible in Django's tests.
Diffstat (limited to 'tests/check_framework')
-rw-r--r--tests/check_framework/test_multi_db.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/check_framework/test_multi_db.py b/tests/check_framework/test_multi_db.py
index 3080b52fda..f51d28a215 100644
--- a/tests/check_framework/test_multi_db.py
+++ b/tests/check_framework/test_multi_db.py
@@ -1,7 +1,7 @@
from unittest import mock
from django.db import connections, models
-from django.test import TestCase
+from django.test import SimpleTestCase
from django.test.utils import isolate_apps, override_settings
@@ -15,8 +15,7 @@ class TestRouter:
@override_settings(DATABASE_ROUTERS=[TestRouter()])
@isolate_apps('check_framework')
-class TestMultiDBChecks(TestCase):
- multi_db = True
+class TestMultiDBChecks(SimpleTestCase):
def _patch_check_field_on(self, db):
return mock.patch.object(connections[db].validation, 'check_field')