API tests added with near-complete coverage over user and admin APIs. 60% overall backend. (not including E2E test in coverage)

This commit is contained in:
2025-12-06 04:45:26 +00:00
parent a2fe0b6f1a
commit 83419d1845
8 changed files with 2637 additions and 11 deletions
+3 -1
View File
@@ -65,7 +65,9 @@ async def auth_exception_handler(_request: Request, exc: authz.AuthException):
@app.exception_handler(Exception)
async def general_exception_handler(_request: Request, exc: Exception):
async def general_exception_handler(
_request: Request, exc: Exception
): # pragma: no cover
logging.exception("Unhandled exception in API app")
return JSONResponse(status_code=500, content={"detail": "Internal server error"})