summaryrefslogtreecommitdiff
path: root/tests/middleware_exceptions
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2015-04-17 17:38:20 -0400
committerSimon Charette <charette.s@gmail.com>2015-05-20 13:46:13 -0400
commitbe67400b477c1b0e7e81766f41bbceed0de74bdc (patch)
treefd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/middleware_exceptions
parente2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff)
downloaddjango-be67400b477c1b0e7e81766f41bbceed0de74bdc.tar.gz
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/middleware_exceptions')
-rw-r--r--tests/middleware_exceptions/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/middleware_exceptions/tests.py b/tests/middleware_exceptions/tests.py
index 3e6cbb747c..eb80460bce 100644
--- a/tests/middleware_exceptions/tests.py
+++ b/tests/middleware_exceptions/tests.py
@@ -6,7 +6,7 @@ from django.core.signals import got_request_exception
from django.http import HttpResponse
from django.template import engines
from django.template.response import TemplateResponse
-from django.test import RequestFactory, TestCase, override_settings
+from django.test import RequestFactory, SimpleTestCase, override_settings
from django.test.utils import patch_logger
@@ -116,7 +116,7 @@ class NoResponseMiddleware(TestMiddleware):
@override_settings(ROOT_URLCONF='middleware_exceptions.urls')
-class BaseMiddlewareExceptionTest(TestCase):
+class BaseMiddlewareExceptionTest(SimpleTestCase):
def setUp(self):
self.exceptions = []
@@ -827,7 +827,7 @@ _missing = object()
@override_settings(ROOT_URLCONF='middleware_exceptions.urls')
-class RootUrlconfTests(TestCase):
+class RootUrlconfTests(SimpleTestCase):
@override_settings(ROOT_URLCONF=None)
def test_missing_root_urlconf(self):
@@ -859,7 +859,7 @@ class MyMiddlewareWithExceptionMessage(object):
DEBUG=True,
ROOT_URLCONF='middleware_exceptions.urls',
)
-class MiddlewareNotUsedTests(TestCase):
+class MiddlewareNotUsedTests(SimpleTestCase):
rf = RequestFactory()