(proxy_test_server, get_request)
| 506 | |
| 507 | @pytest.mark.xfail |
| 508 | async def xtest_proxy_https_connect(proxy_test_server, get_request): |
| 509 | proxy = await proxy_test_server() |
| 510 | url = "https://www.google.com.ua/search?q=aiohttp proxy" |
| 511 | |
| 512 | await get_request(url=url, proxy=proxy.url) |
| 513 | |
| 514 | connect = proxy.requests_list[0] |
| 515 | assert connect.method == "CONNECT" |
| 516 | assert connect.path == "www.google.com.ua:443" |
| 517 | assert connect.host == "www.google.com.ua" |
| 518 | |
| 519 | assert proxy.request.host == "www.google.com.ua" |
| 520 | assert proxy.request.path_qs == "/search?q=aiohttp+proxy" |
| 521 | |
| 522 | |
| 523 | @pytest.mark.xfail |
nothing calls this directly
no test coverage detected