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

Method test_get

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected