(self)
| 199 | self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED) |
| 200 | |
| 201 | def test_version_bogus(self): |
| 202 | self.con._http_vsn_str = 'FUBAR' |
| 203 | self.con.putrequest('GET', '/') |
| 204 | self.con.endheaders() |
| 205 | res = self.con.getresponse() |
| 206 | self.assertEqual(res.status, HTTPStatus.BAD_REQUEST) |
| 207 | |
| 208 | def test_version_digits(self): |
| 209 | self.con._http_vsn_str = 'HTTP/9.9.9' |
nothing calls this directly
no test coverage detected