summaryrefslogtreecommitdiff
path: root/tests/admin_views/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_views/tests.py')
-rw-r--r--tests/admin_views/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index 57ded94e21..421d2ce25b 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -691,6 +691,10 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
response = self.client.get(reverse('admin:jsi18n'))
self.assertContains(response, 'Choisir une heure')
+ def test_jsi18n_with_context(self):
+ response = self.client.get(reverse('admin-extra-context:jsi18n'))
+ self.assertEqual(response.status_code, 200)
+
def test_L10N_deactivated(self):
"""
Check if L10N is deactivated, the JavaScript i18n view doesn't