Files
redshift 54d1f4c798 test(ehbp): cover bearer timeout path; tighten EhbpTimeoutError signature
Addresses two review items on #700.

- Add a bearer-path regression test. `forward_ehbp_request`'s trailing
  `except Exception` rewrites any error into a 500; only the
  `except UpstreamError: raise` above it preserves the 504. Deleting those
  two lines now fails this test and nothing else (verified locally).
- Drop `EhbpTimeoutError`'s unused `status_code` parameter and accept
  `details`, which `create_upstream_error_response` already forwards.
- Format the touched tests: `ruff format --check` was failing on
  tests/unit/test_ehbp_timeout.py.
2026-09-08 13:24:44 +02:00
..
2026-08-27 00:41:26 +02:00
2025-08-06 20:31:55 -03:00