feat: add privacy-safe structured logging
This commit is contained in:
@@ -56,7 +56,9 @@ def test_invalid_period_is_rejected() -> None:
|
||||
|
||||
|
||||
def test_liveness_does_not_probe_dependencies() -> None:
|
||||
assert client.get("/health").json() == {"status": "ok"}
|
||||
response = client.get("/health?token=must-not-be-logged")
|
||||
assert response.json() == {"status": "ok"}
|
||||
assert len(response.headers["X-Request-ID"]) == 32
|
||||
|
||||
|
||||
def test_spot_detail_and_catches() -> None:
|
||||
|
||||
Reference in New Issue
Block a user