Skip to content

Commit

Permalink
Fixed a regression introduced in 9f7a01e.
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 committed May 5, 2013
1 parent f3b3c56 commit da85c8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/view_tests/tests/test_i18n.py
Expand Up @@ -217,5 +217,6 @@ def test_javascript_gettext(self):
def test_escaping(self):
extended_apps = list(settings.INSTALLED_APPS) + ['view_tests']
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')

0 comments on commit da85c8c

Please sign in to comment.