mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
@ -11,7 +11,7 @@ from django.core import management
|
|||
from django.db import DEFAULT_DB_ALIAS, connections, router, transaction
|
||||
from django.db.models import signals
|
||||
from django.db.utils import ConnectionRouter
|
||||
from django.test import TestCase, override_settings
|
||||
from django.test import SimpleTestCase, TestCase, override_settings
|
||||
from django.utils.encoding import force_text
|
||||
from django.utils.six import StringIO
|
||||
|
||||
|
@ -862,7 +862,7 @@ class QueryTestCase(TestCase):
|
|||
extra_arg=True)
|
||||
|
||||
|
||||
class ConnectionRouterTestCase(TestCase):
|
||||
class ConnectionRouterTestCase(SimpleTestCase):
|
||||
@override_settings(DATABASE_ROUTERS=[
|
||||
'multiple_database.tests.TestRouter',
|
||||
'multiple_database.tests.WriteRouter'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue