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:159–163  ·  view source on GitHub ↗
(make_request)

Source from the content-addressed store, hash-verified

157
158
159def test_host_port_default_https(make_request) -> None:
160 req = make_request("get", "https://python.org/")
161 assert req.host == "python.org"
162 assert req.port == 443
163 assert req.is_ssl()
164
165
166def 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