mirror of https://github.com/django/django.git
Fixed a regression introduced in 9f7a01ef2b
.
This commit is contained in:
parent
f3b3c569e7
commit
da85c8cf32
|
@ -217,5 +217,6 @@ class JavascriptI18nTests(LiveServerTestCase):
|
||||||
def test_escaping(self):
|
def test_escaping(self):
|
||||||
extended_apps = list(settings.INSTALLED_APPS) + ['view_tests']
|
extended_apps = list(settings.INSTALLED_APPS) + ['view_tests']
|
||||||
with self.settings(INSTALLED_APPS=extended_apps):
|
with self.settings(INSTALLED_APPS=extended_apps):
|
||||||
response = self.client.get('%s%s' % (self.live_server_url, '/jsi18n_admin/'))
|
# Force a language via GET otherwise the gettext functions are a noop!
|
||||||
|
response = self.client.get('/jsi18n_admin/?language=de')
|
||||||
self.assertContains(response, '\\x04')
|
self.assertContains(response, '\\x04')
|
||||||
|
|
Loading…
Reference in New Issue