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

Function test_proxy_https_connection_error

tests/test_proxy_functional.py:571–576  ·  view source on GitHub ↗
(get_request)

Source from the content-addressed store, hash-verified

569
570
571async def test_proxy_https_connection_error(get_request) -> None:
572 url = "https://secure.aiohttp.io/path"
573 proxy_url = "http://localhost:2242/"
574
575 with pytest.raises(aiohttp.ClientConnectorError):
576 await get_request(url=url, proxy=proxy_url)
577
578
579async def test_proxy_https_bad_response(proxy_test_server, get_request) -> None:

Callers

nothing calls this directly

Calls 1

get_requestFunction · 0.85

Tested by

no test coverage detected