(loop)
| 314 | |
| 315 | @pytest.fixture() |
| 316 | def get_request(loop): |
| 317 | async def _request(method="GET", *, url, trust_env=False, **kwargs): |
| 318 | connector = aiohttp.TCPConnector(ssl=False, loop=loop) |
| 319 | async with aiohttp.ClientSession( |
| 320 | connector=connector, trust_env=trust_env |
| 321 | ) as client: |
| 322 | async with client.request(method, url, **kwargs) as resp: |
| 323 | return resp |
| 324 | |
| 325 | return _request |
| 326 | |
| 327 | |
| 328 | async def test_proxy_http_absolute_path(proxy_test_server, get_request) -> None: |
no outgoing calls
no test coverage detected