(scope: Scope, receive: Receive, send: Send)
| 16 | test_client_factory: TestClientFactory, |
| 17 | ) -> None: |
| 18 | async def app(scope: Scope, receive: Receive, send: Send) -> None: |
| 19 | raise RuntimeError("Something went wrong") |
| 20 | |
| 21 | def error_500(request: Request, exc: Exception) -> JSONResponse: |
| 22 | return JSONResponse({"detail": "Server Error"}, status_code=500) |
no test coverage detected