(transport)
| 102 | |
| 103 | |
| 104 | def test_add_header_non_ascii(transport): |
| 105 | msg = protocol.Response(transport, 200) |
| 106 | assert [] == list(msg.headers) |
| 107 | |
| 108 | with pytest.raises(AssertionError): |
| 109 | msg.add_header('тип-контента', 'текст/плейн') |
| 110 | |
| 111 | |
| 112 | def test_add_header_invalid_value_type(transport): |
nothing calls this directly
no test coverage detected