gabriel / musehub public
test F7b B3 feat/f7b-http-coverage #4 / 6
aaronrene · 26 days ago · Aug 11, 2026 · Diff

test(F7b B3): add TestClient HTTP assertions for overseer provenance

Four anonymous GETs (A1, A3, A2, A4) across the real /api route table. No registration change. get_db override only; Postgres not required.

sha256:e2fffbbba187e66757a79b490cf50873fbd018a310260f774293a0b8e2a50081 sha
+22 symbols
sha256:af72271c7407de1be09bd7e97294191d27ffb86e98148762d1dc103ca38249e4 snapshot
+22
symbols added
0
dead code introduced
Semantic Changes 22 symbols
+ ENCODED_PATH variable variable ENCODED_PATH L22–22
+ EXPECTED_RECORD variable variable EXPECTED_RECORD L24–38
+ FIXTURE_REF variable variable FIXTURE_REF L19–19
+ PREFIXED_PATH variable variable PREFIXED_PATH L21–21
+ RECORD_KEYS variable variable RECORD_KEYS L40–40
+ TOP_LEVEL_KEYS variable variable TOP_LEVEL_KEYS L41–41
+ UNKNOWN_REF variable variable UNKNOWN_REF L20–20
+ _disable_posture function function _disable_posture L66–71
+ _enable_posture function function _enable_posture L58–63
+ client function function client L45–55
+ AsyncIterator import import AsyncIterator L10–10
+ Iterator import import Iterator L10–10
+ TestClient import import TestClient L13–13
+ annotations import import annotations L8–8
+ app import import app L16–16
+ enrichment import import enrichment L17–17
+ get_db import import get_db L15–15
+ pytest import import pytest L12–12
+ test_a1_prefixed_path_returns_envelope function function test_a1_prefixed_path_returns_envelope L74–88
+ test_a2_percent_encoded_ref_returns_decoded_record function function test_a2_percent_encoded_ref_returns_decoded_record L102–116
+ test_a3_unknown_ref_returns_404 function function test_a3_unknown_ref_returns_404 L91–99
+ test_a4_posture_off_returns_404_fail_closed function function test_a4_posture_off_returns_404_fail_closed L119–132

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:e2fffbbba187e66757a79b490cf50873fbd018a310260f774293a0b8e2a50081 --body "your comment"