gabriel / musehub public
test intel dev
AI Agent gabriel · 140 days ago · May 3, 2026 · Diff

test(intel): Phase 4 TDD spec — dismiss affordance (9 tests, 4 failing)

Covers: route registration, 302 redirect, dismissed=True persisted, hidden by default, visible with ?show_dismissed=true, stat count, 404 on unknown address, dismiss button in HTML, idempotency

sha256:13aea90a17241885ee206fb6a9ca314fd37fceddd7f35f67f203cc9ac85742f7 sha
+36 symbols
sha256:9fbfb4c64310cc590d239e84609c03456d2de3ef4d141839bac0746a609f551a snapshot
+36
symbols added
0
dead code introduced
Semantic Changes 36 symbols
~ tests/test_phase4_dead_dismiss.py .py 36 symbols added
+ TestDismissButton class class TestDismissButton L238–249
+ test_P4_08_dismiss_button_rendered_per_row method async_method test_P4_08_dismiss_button_rendered_per_row L241–249
+ TestDismissDbState class class TestDismissDbState L141–156
+ test_P4_03_dismissed_true_in_db_after_post method async_method test_P4_03_dismissed_true_in_db_after_post L144–156
+ TestDismissHidden class class TestDismissHidden L163–174
+ test_P4_04_dismissed_row_absent_from_default_list method async_method test_P4_04_dismissed_row_absent_from_default_list L166–174
+ TestDismissIdempotent class class TestDismissIdempotent L256–271
+ test_P4_09_dismiss_already_dismissed_row_no_error method async_method test_P4_09_dismiss_already_dismissed_row_no_error L259–271
+ TestDismissNotFound class class TestDismissNotFound L220–231
+ test_P4_07_unknown_address_returns_404 method async_method test_P4_07_unknown_address_returns_404 L223–231
+ TestDismissRedirect class class TestDismissRedirect L122–134
+ test_P4_02_post_valid_address_redirects_302 method async_method test_P4_02_post_valid_address_redirects_302 L125–134
+ TestDismissRouteRegistration class class TestDismissRouteRegistration L110–115
+ test_P4_01_dismiss_route_registered method method test_P4_01_dismiss_route_registered L112–115
+ TestDismissStatCard class class TestDismissStatCard L199–213
+ test_P4_06_dismissed_count_reflects_dismissed_rows method async_method test_P4_06_dismissed_count_reflects_dismissed_rows L202–213
+ TestDismissVisible class class TestDismissVisible L181–192
+ test_P4_05_dismissed_row_present_with_show_dismissed method async_method test_P4_05_dismissed_row_present_with_show_dismissed L184–192
+ _OWNER variable variable _OWNER L44–44
+ _SLUG variable variable _SLUG L45–45
+ _get_dead_row function async_function _get_dead_row L73–82
+ _seed_dead function async_function _seed_dead L48–70
+ _uid function function _uid L40–41
+ dismiss_repo function async_function dismiss_repo L90–91
+ dismiss_repo_with_row function async_function dismiss_repo_with_row L95–103
+ AsyncClient import import AsyncClient L30–30
+ AsyncSession import import AsyncSession L33–33
+ annotations import import annotations L24–24
+ create_repo import import create_repo L37–37
+ db import import db L36–36
+ fake_id import import fake_id L35–35
+ pg_insert import import pg_insert L32–32
+ pytest import import pytest L28–28
+ pytest_asyncio import import pytest_asyncio L29–29
+ secrets import import secrets L26–26
+ select import import select L31–31
← 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:13aea90a17241885ee206fb6a9ca314fd37fceddd7f35f67f203cc9ac85742f7 --body "your comment"