summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-06-25 09:41:04 -0400
committerTim Graham <timograham@gmail.com>2018-06-25 09:43:39 -0400
commit4b3b9fab080f517b7dc41fb933f6eae3e24081ce (patch)
tree3980a1eb82c04ac254daffe96216ba0dbad17cab /tests
parent8e082a6e0b63a1cfdb0bc7b2835c6447123aa239 (diff)
[2.0.x] Reverted "Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header."
This reverts commit 8e082a6e0b63a1cfdb0bc7b2835c6447123aa239 as it doesn't qualify for a backport.
Diffstat (limited to 'tests')
-rw-r--r--tests/view_tests/tests/test_i18n.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py
index 4f1a07b272..38e5367d03 100644
--- a/tests/view_tests/tests/test_i18n.py
+++ b/tests/view_tests/tests/test_i18n.py
@@ -200,7 +200,6 @@ class I18NViewTests(SimpleTestCase):
catalog = gettext.translation('djangojs', locale_dir, [lang_code])
trans_txt = catalog.gettext('this is to be translated')
response = self.client.get('/jsi18n/')
- self.assertEqual(response['Content-Type'], 'text/javascript; charset="utf-8"')
# response content must include a line like:
# "this is to be translated": <value of trans_txt Python variable>
# json.dumps() is used to be able to check unicode strings