MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / test_request_info

Function test_request_info

tests/test_client_request.py:130–134  ·  view source on GitHub ↗
(make_request)

Source from the content-addressed store, hash-verified

128
129
130def test_request_info(make_request) -> None:
131 req = make_request("get", "http://python.org/")
132 assert req.request_info == aiohttp.RequestInfo(
133 URL("http://python.org/"), "GET", req.headers, URL("http://python.org/")
134 )
135
136
137def test_request_info_with_fragment(make_request) -> None:

Callers

nothing calls this directly

Calls 1

make_requestFunction · 0.70

Tested by

no test coverage detected