()
| 78 | |
| 79 | |
| 80 | def test_setting_charset(): |
| 81 | resp = StreamResponse() |
| 82 | |
| 83 | resp.content_type = 'text/html' |
| 84 | resp.charset = 'koi8-r' |
| 85 | assert 'text/html; charset=koi8-r' == resp.headers['content-type'] |
| 86 | |
| 87 | |
| 88 | def test_default_charset(): |
nothing calls this directly
no test coverage detected