Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a regression introduced in 9f7a01e.

  • Loading branch information...
commit da85c8cf326fa8858bac29f1b92da7972dd88dda 1 parent f3b3c56
@apollo13 apollo13 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/view_tests/tests/test_i18n.py
View
3  tests/view_tests/tests/test_i18n.py
@@ -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')
Please sign in to comment.
Something went wrong with that request. Please try again.