fix: four ergonomic improvements to CLI test infrastructure
1. CliRunner stdout/stderr separation — result.output is stdout-only, result.stderr is stderr-only. Migrated all 93 affected assertions. 2. CliRunner cwd= parameter — invoke(cwd=path) chdir/restores atomically. 3. muse branch -b writes a reflog entry (git-idiomatic). 4. muse cat / muse code cat fall back to disk for untracked files.
sha256:a7e43b26ec69b4f31093727303ca6632016af79cca353a578de5cdd902871b54
sha
+19
~158
symbols
sha256:a0fd7f42eac2b4f9e4b04d7af4f8009700c9fcaf876ed93bb14f453b81dcbe4b
snapshot
+19
symbols added
~158
symbols modified
0
dead code introduced
Semantic Changes
177 symbols
~
run
+
test_json_stdout_unpolluted_by_stderr
method
method test_json_stdout_unpolluted_by_stderr L256–264
+
test_branch_create_reflog_contains_branch_created
method
method test_branch_create_reflog_contains_branch_created L527–532
+
test_branch_create_reflog_records_start_point
method
method test_branch_create_reflog_records_start_point L534–539
+
test_untracked_file_json_returns_content
method
method test_untracked_file_json_returns_content L656–662
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:a7e43b26ec69b4f31093727303ca6632016af79cca353a578de5cdd902871b54 --body "your comment"
No comments yet. Be the first to start the discussion.