test: add AV_19-AV_26 SSR visibility gate tests; fix settings test auth
- New tests/test_ssr_visibility.py covers AV_19-AV_26 from issue #90: anonymous private repo pages return 404, public repo returns 200, authed owner private repo returns 200, settings returns 401/403/200 depending on auth state and ownership. - Fix tests/test_musehub_ui_settings.py and test_musehub_ui_settings_ssr.py: both were broken by the Phase 3 require_valid_token gate added in task/ssr-visibility-gate. All content tests now use auth_headers with owner=testuser; test_settings_page_no_auth_required updated to assert 401.
sha256:f0ce2f5b7a3316126a89512a9f2ab9e4ac3cf2dbd7dae9155812a102138d15b4
sha
+26
~23
−1
symbols
3 changed · 970 in snapshot
files
sha256:2c2281551ce5d8260744ebcb4d644822b5d79edeecb237cf913af894db679ca3
snapshot
+26
symbols added
~23
symbols modified
−1
symbol removed
3
files changed
970
files in snapshot
0
dead code introduced
Semantic Changes
50 symbols
+
.vscode/
+
alembic/
+
deploy/
+
docs/
+
musehub/
+
scripts/
+
src/
+
src/ts/
+
tests/
+
tools/
+
test_av_19_anon_private_repo_home_returns_404
function
async_function test_av_19_anon_private_repo_home_returns_404 L62–69
+
test_av_20_anon_private_repo_commits_returns_404
function
async_function test_av_20_anon_private_repo_commits_returns_404 L76–83
+
test_av_21_anon_private_repo_issues_returns_404
function
async_function test_av_21_anon_private_repo_issues_returns_404 L90–97
+
test_av_22_anon_public_repo_home_returns_200
function
async_function test_av_22_anon_public_repo_home_returns_200 L104–113
+
test_av_23_authed_owner_private_repo_returns_200
function
async_function test_av_23_authed_owner_private_repo_returns_200 L120–134
+
test_av_24_anon_settings_returns_401
function
async_function test_av_24_anon_settings_returns_401 L141–154
+
test_av_25_authed_nonowner_settings_returns_403
function
async_function test_av_25_authed_nonowner_settings_returns_403 L161–176
+
test_av_26_authed_owner_settings_returns_200
function
async_function test_av_26_authed_owner_settings_returns_200 L183–194
−
test_settings_page_no_auth_required
function
async_function test_settings_page_no_auth_required L80–92
Files Changed
+1
~2
970 in snapshot
+1
~2
970 in snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:f0ce2f5b7a3316126a89512a9f2ab9e4ac3cf2dbd7dae9155812a102138d15b4 --body "your comment"
No comments yet. Be the first to start the discussion.