MCPcopy Index your code
hub / github.com/python/cpython / test_command

Method test_command

Lib/test/test_httpservers.py:189–192  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 self.con.connect()
188
189 def test_command(self):
190 self.con.request('GET', '/')
191 res = self.con.getresponse()
192 self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED)
193
194 def test_request_line_trimming(self):
195 self.con._http_vsn_str = 'HTTP/1.1\n'

Callers

nothing calls this directly

Calls 3

requestMethod · 0.45
getresponseMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected