(self)
| 271 | self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED) |
| 272 | |
| 273 | def test_header_keep_alive(self): |
| 274 | self.con._http_vsn_str = 'HTTP/1.1' |
| 275 | self.con.putrequest('GET', '/') |
| 276 | self.con.putheader('Connection', 'keep-alive') |
| 277 | self.con.endheaders() |
| 278 | res = self.con.getresponse() |
| 279 | self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED) |
| 280 | |
| 281 | def test_handler(self): |
| 282 | self.con.request('TEST', '/') |
nothing calls this directly
no test coverage detected