mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
@@ -7,7 +7,7 @@ from django.core.urlresolvers import clear_url_caches, reverse, translate_url
|
||||
from django.http import HttpResponsePermanentRedirect
|
||||
from django.middleware.locale import LocaleMiddleware
|
||||
from django.template import Context, Template
|
||||
from django.test import TestCase, override_settings
|
||||
from django.test import SimpleTestCase, override_settings
|
||||
from django.test.utils import override_script_prefix
|
||||
from django.utils import translation
|
||||
from django.utils._os import upath
|
||||
@@ -43,7 +43,7 @@ class PermanentRedirectLocaleMiddleWare(LocaleMiddleware):
|
||||
},
|
||||
}],
|
||||
)
|
||||
class URLTestCaseBase(TestCase):
|
||||
class URLTestCaseBase(SimpleTestCase):
|
||||
"""
|
||||
TestCase base-class for the URL tests.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user