(request: Request)
| 56 | """ |
| 57 | |
| 58 | def homepage(request: Request) -> JSONResponse: |
| 59 | client = test_client_factory(mock_service) |
| 60 | response = client.get("/") |
| 61 | return JSONResponse(response.json()) |
| 62 | |
| 63 | app = Starlette(routes=[Route("/", endpoint=homepage)]) |
| 64 |
nothing calls this directly
no test coverage detected