yuqi1129 opened a new issue, #11571: URL: https://github.com/apache/gravitino/issues/11571
### Describe the subtask Add unit tests covering the authentication flow and audit logging introduced in the preceding subtasks. **Changes:** - New `tests/unit/test_auth_flow.py`: verify token is injected into httpx headers; verify missing token raises when required; verify anonymous fallback when token is empty - New `tests/unit/test_audit.py`: verify `AuditLogger` writes correct JSON; verify `AuditMiddleware` records `allow` on success and `deny` on `GravitinoException` with auth error **Acceptance:** - `uv run pytest tests/unit/` passes with all new tests green ### Parent issue TBD (EPIC to be linked after creation) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
