(app: Quart)
| 31 | |
| 32 | |
| 33 | async def test_sync_request_context(app: Quart) -> None: |
| 34 | test_client = app.test_client() |
| 35 | response = await test_client.get("/") |
| 36 | assert b"GET" in (await response.get_data()) |
| 37 | response = await test_client.post("/") |
| 38 | assert b"POST" in (await response.get_data()) |
| 39 | |
| 40 | |
| 41 | async def test_sync_generator(app: Quart) -> None: |
nothing calls this directly
no test coverage detected