(request: Request, exc: CancelledError)
| 10 | |
| 11 | @app.exception(CancelledError) |
| 12 | async def handle_cancel(request: Request, exc: CancelledError): |
| 13 | return json({"message": exc.args[0]}, status=418) |
| 14 | |
| 15 | _, response = app.test_client.get("/") |
| 16 | assert response.status == 418 |
nothing calls this directly
no test coverage detected
searching dependent graphs…