gabriel / musehub public
fix patch tests dev
AI Agent gabriel · 40 days ago · May 8, 2026 · Diff

fix(tests): update test suite to match current implementation

- musehub_attestations: raise PermissionError (not ValueError) for wrong revoker - test_attestations_phase1: expunge identity-map row before second commit - test_compliance: decode JSONResponse.body with json.loads - test_domains: remove bare dict annotations from fixture params - test_file_last_commits: manifest param dict[str,str] → Mapping[str,str] - test_fleet_pagination: remove bare dict annotation from _IDENTITY - test_mcp_profile_tools: add required claim field to AttestationBadge - test_musehub_alembic: update expected head/count to migration 0043 - test_musehub_ui_branches_tags_ssr: Compare → History action link - test_object_store_canonical: sha256_ → sha256: key format - test_profile_reimagination: fix claim_type assertion to 'human' - test_push_commit_created_at: remove object/list/dict annotations - test_raw_endpoint: sha256_ → sha256: S3 key format - test_repo_card_e2e: rc-health--* CSS → aria-label gauge attributes - test_schema_parity: remove Any param annotation, drop unused import - test_storage_backends: _key preserves colons (valid in S3/R2) - test_symbol_detail_pagination: remove bare list annotations - test_symbol_detail_phase1: update _infer_sym_kind return values; sd-narrative → sd-vitals-cell - test_symbols_v2_p2_route_join: kind= → op=[] / op=['insert'] - test_symbols_v2_p3_template: kind= → op=[]; update renamed CSS classes - test_ui_ssr: update _infer_sym_kind return values (fn→function, sym→variable, no-:: → file) - test_wire_presign_push: sha256_ → sha256: presign key format - test_wire_push_stream: remove bare dict annotation; **_:object → **_ - typing_audit: violations ratchet at 0

sha256:763eb2cb8675073b84c19345b27586d2ed939a9aee97c5479b69f502f1a70eff sha
sha256:9bd6f6bb6dd8754935dcb4cbe132ae58f5138d8673c3a12a50b5e080fbbc5364 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:763eb2cb8675073b84c19345b27586d2ed939a9aee97c5479b69f502f1a70eff --body "your comment"