(loop)
| 292 | |
| 293 | |
| 294 | async def test_test_server_context_manager(loop) -> None: |
| 295 | app = _create_example_app() |
| 296 | async with TestServer(app, loop=loop) as server: |
| 297 | client = aiohttp.ClientSession(loop=loop) |
| 298 | resp = await client.head(server.make_url("/")) |
| 299 | assert resp.status == 200 |
| 300 | resp.close() |
| 301 | await client.close() |
| 302 | |
| 303 | |
| 304 | def test_client_unsupported_arg() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…