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

Function xtest_proxy_https_idna_support

tests/test_proxy_functional.py:559–568  ·  view source on GitHub ↗
(proxy_test_server, get_request)

Source from the content-addressed store, hash-verified

557
558@pytest.mark.xfail
559async def xtest_proxy_https_idna_support(proxy_test_server, get_request):
560 url = "https://éé.com/"
561 proxy = await proxy_test_server()
562
563 await get_request(url=url, proxy=proxy.url)
564
565 connect = proxy.requests_list[0]
566 assert connect.method == "CONNECT"
567 assert connect.path == "xn--9caa.com:443"
568 assert connect.host == "xn--9caa.com"
569
570
571async def test_proxy_https_connection_error(get_request) -> None:

Callers

nothing calls this directly

Calls 2

proxy_test_serverFunction · 0.85
get_requestFunction · 0.85

Tested by

no test coverage detected