Kaydet (Commit) da85c8cf authored tarafından Florian Apolloner's avatar Florian Apolloner

Fixed a regression introduced in 9f7a01ef.

üst f3b3c569
...@@ -217,5 +217,6 @@ class JavascriptI18nTests(LiveServerTestCase): ...@@ -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')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment