gabriel / musehub public
fix patch tests dev
AI Agent gabriel · 119 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
+13 ~59 −13 symbols
23 changed · 860 in snapshot files
sha256:9bd6f6bb6dd8754935dcb4cbe132ae58f5138d8673c3a12a50b5e080fbbc5364 snapshot
+13
symbols added
~59
symbols modified
−13
symbols removed
23
files changed
860
files in snapshot
0
dead code introduced
Semantic Changes 85 symbols
~ tests/test_file_last_commits.py .py 1 symbol added, 1 symbol modified
+ Mapping import import Mapping L18–18
~ tests/test_fleet_pagination.py .py 1 symbol modified
~ tests/test_schema_parity.py .py 1 symbol removed, 1 symbol modified
Any import import Any L48–48
~ tests/test_storage_backends.py .py 3 symbols added, 3 symbols removed, 2 symbols modified
test_s3_key_no_colon_injection method method test_s3_key_no_colon_injection L624–627
test_key_replaces_colon method method test_key_replaces_colon L106–110
test_uri_for_no_colon_in_key method method test_uri_for_no_colon_in_key L117–121
+ test_s3_key_preserves_colons method method test_s3_key_preserves_colons L622–625
+ test_key_preserves_colon method method test_key_preserves_colon L106–109
+ test_uri_for_preserves_colon_in_key method method test_uri_for_preserves_colon_in_key L116–119
~ tests/test_symbol_detail_phase1.py .py 4 symbols added, 4 symbols removed, 2 symbols modified
test_T110_all_caps_is_sym method method test_T110_all_caps_is_sym L109–111
test_T111_lower_fn_is_fn method method test_T111_lower_fn_is_fn L113–115
test_T112_no_separator_uses_full_addr method method test_T112_no_separator_uses_full_addr L117–119
test_T309_narrative_line_present method async_method test_T309_narrative_line_present L284–288
+ test_T110_all_caps_is_variable method method test_T110_all_caps_is_variable L109–111
+ test_T111_lower_fn_is_function method method test_T111_lower_fn_is_function L113–115
+ test_T112_no_separator_is_file method method test_T112_no_separator_is_file L117–119
+ test_T309_vitals_cells_present method async_method test_T309_vitals_cells_present L284–288
~ tests/test_ui_ssr.py .py 5 symbols added, 5 symbols removed, 4 symbols modified
test_all_caps_is_sym method method test_all_caps_is_sym L260–261
test_dunder_is_sym_or_fn method method test_dunder_is_sym_or_fn L272–274
test_empty_addr_is_sym method method test_empty_addr_is_sym L276–277
test_private_class class method test_private_class L279–280
test_snake_case_is_fn method method test_snake_case_is_fn L257–258
+ test_all_caps_is_variable method method test_all_caps_is_variable L260–261
+ test_dunder_is_file_without_namespace method method test_dunder_is_file_without_namespace L272–273
+ test_empty_addr_is_file method method test_empty_addr_is_file L275–276
+ test_private_class_without_namespace class method test_private_class_without_namespace L278–279
+ test_snake_case_is_function method method test_snake_case_is_function L257–258
Files Changed
~23
860 in 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"