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

Method test_get

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

Source from the content-addressed store, hash-verified

419 request_handler = DummyRequestHandler
420
421 def test_get(self):
422 response = self.request('/')
423 self.assertEqual(response.status, HTTPStatus.OK)
424
425 def request(self, uri, method='GET', body=None, headers={}):
426 context = ssl._create_unverified_context()

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected