MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_command

Method test_command

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

Source from the content-addressed store, hash-verified

185 self.con.connect()
186
187 def test_command(self):
188 self.con.request('GET', '/')
189 res = self.con.getresponse()
190 self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED)
191
192 def test_request_line_trimming(self):
193 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