summaryrefslogtreecommitdiff
path: root/tests/i18n/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i18n/tests.py')
-rw-r--r--tests/i18n/tests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py
index 9501849e09..eee9896266 100644
--- a/tests/i18n/tests.py
+++ b/tests/i18n/tests.py
@@ -1261,11 +1261,10 @@ class MultipleLocaleActivationTests(TestCase):
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
),
+ ROOT_URLCONF='i18n.urls',
)
class LocaleMiddlewareTests(TestCase):
- urls = 'i18n.urls'
-
def test_streaming_response(self):
# Regression test for #5241
response = self.client.get('/fr/streaming/')
@@ -1299,11 +1298,10 @@ class LocaleMiddlewareTests(TestCase):
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
),
+ ROOT_URLCONF='i18n.urls'
)
class CountrySpecificLanguageTests(TestCase):
- urls = 'i18n.urls'
-
def setUp(self):
super(CountrySpecificLanguageTests, self).setUp()
self.rf = RequestFactory()