diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-05-05 15:27:14 +0200 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-05-05 15:27:14 +0200 |
| commit | da85c8cf326fa8858bac29f1b92da7972dd88dda (patch) | |
| tree | dc24d16cc5f4d7f6cf01760a3288e5db085d5cfd | |
| parent | f3b3c569e770f8b576aba446847430586486bac6 (diff) | |
Fixed a regression introduced in 9f7a01ef2bed8c0395a970286e8f87fd7d344b3b.
| -rw-r--r-- | tests/view_tests/tests/test_i18n.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py index 5a3bdd1062..2da17dd0f5 100644 --- a/tests/view_tests/tests/test_i18n.py +++ b/tests/view_tests/tests/test_i18n.py @@ -217,5 +217,6 @@ class JavascriptI18nTests(LiveServerTestCase): 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') |
