diff options
| author | ianb <devnull@localhost> | 2007-08-10 23:19:35 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2007-08-10 23:19:35 +0000 |
| commit | 1cd91f0eca71e3f3df5712f96fdd4b21fad5f52b (patch) | |
| tree | 54e1ddea272c60a7034144f2be5a6d5fbdede6a7 /tests | |
| parent | 50d8ae48a999e3df3a95431f480c1241752d959f (diff) | |
| download | paste-1cd91f0eca71e3f3df5712f96fdd4b21fad5f52b.tar.gz | |
Port WSGIResponse.content_type and .charset from WebOb
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_wsgiwrappers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_wsgiwrappers.py b/tests/test_wsgiwrappers.py index 4a98ca3..b552f86 100644 --- a/tests/test_wsgiwrappers.py +++ b/tests/test_wsgiwrappers.py @@ -99,6 +99,8 @@ def test_wsgirequest_charset_fileupload(): def test_wsgiresponse_charset(): response = WSGIResponse(mimetype='text/html; charset=UTF-8') + assert response.content_type == 'text/html' + assert response.charset == 'UTF-8' response.write(u'test') response.write(u'test2') response.write('test3') |
