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

Function test_host_port_default_https

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

Source from the content-addressed store, hash-verified

182
183
184def test_host_port_default_https(make_request) -> None:
185 req = make_request("get", "https://python.org/")
186 assert req.host == "python.org"
187 assert req.port == 443
188 assert req.is_ssl()
189
190
191def test_host_port_nondefault_http(make_request) -> None:

Callers

nothing calls this directly

Calls 2

is_sslMethod · 0.80
make_requestFunction · 0.70

Tested by

no test coverage detected