diff options
| author | Jonathan Lange <jml@mumak.net> | 2015-12-16 10:50:50 +0000 |
|---|---|---|
| committer | Jonathan Lange <jml@mumak.net> | 2015-12-16 10:50:50 +0000 |
| commit | 85f9cde25777b07028c146f681204b81ae61adc4 (patch) | |
| tree | 13d228c662bc90577b59faa4f8ef14bde0e7e5cc /testtools/tests | |
| parent | c7b4fe3b6a0d699a41829bf4ebdfd1e9639f6f42 (diff) | |
| download | testtools-json-text.tar.gz | |
Set JSON charsetjson-text
Diffstat (limited to 'testtools/tests')
| -rw-r--r-- | testtools/tests/test_content_type.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testtools/tests/test_content_type.py b/testtools/tests/test_content_type.py index df149c9..f81718b 100644 --- a/testtools/tests/test_content_type.py +++ b/testtools/tests/test_content_type.py @@ -64,7 +64,7 @@ class TestBuiltinContentTypes(TestCase): # The JSON content type represents implictly UTF-8 application/json. self.assertThat(JSON.type, Equals('application')) self.assertThat(JSON.subtype, Equals('json')) - self.assertThat(JSON.parameters, Equals({})) + self.assertThat(JSON.parameters, Equals({'charset': 'utf8'})) self.assertThat(JSON.is_text(), Equals(True)) |
