Orchestrata Ultimate › Tests › Reference › claude › test_session_close_coverage

Tests reference — tests/claude/test_session_close_coverage.py

Module of tests/claude, split out because the directory page would be too large.

Prose pending.

tests/claude/test_session_close_coverage.py

source · 18 tests · 317 lines

Coverage tests for claude/tools/session_close.py.

Kind Name Line Description
function test_diff_stats_from_real_commits 83
function test_diff_stats_without_repo_returns_zeros 88
function test_changed_files_from_real_commits 94
function test_changed_files_without_repo_returns_empty 101
function test_run_tests_in_project_without_uv_fails_fast 109
function test_run_tests_with_missing_cwd_reports_error 119
function test_no_findings_when_audit_log_absent 128
function test_show_findings_lists_entries_and_skips_bad_lines 141
function test_show_findings_keeps_only_last_ten 166
function test_show_findings_reports_none_when_log_missing 187
function test_generate_close_section 205
function test_generate_close_section_with_test_run 241
function test_generate_marks_auditor_active_when_audit_dir_exists 259
function test_main_plain_stdout 279
function test_main_json_output 285
function test_main_output_file 293
function test_main_append_to_existing_context 300
function test_main_append_without_context_exits_nonzero 308