Orchestrata Ultimate › Tests › Reference › claude › test_test_run_context_coverage
Tests reference — tests/claude/test_test_run_context_coverage.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_test_run_context_coverage.py
source · 13 tests · 170 lines
Coverage tests for
claude/hooks/test_run_context.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_argv_of_a_dead_pid_is_empty |
49 | |
| function | test_cmdline_of_a_dead_pid_is_empty |
53 | |
| function | test_cwd_of_a_dead_pid_is_empty |
57 | |
| function | test_elapsed_of_a_dead_pid_is_unknown |
61 | |
| function | test_ppid_of_a_dead_pid_is_empty |
65 | |
| function | test_project_of_a_tree_without_repo_markers_is_the_basename |
72 | |
| function | test_project_of_an_empty_cwd_is_unknown |
80 | |
| function | test_fmt_negative_seconds_is_unknown |
87 | |
| function | test_fmt_renders_both_scales |
91 | |
| function | test_last_run_with_passed_null_reports_nothing |
100 | passed: null with failures recorded is not a result either — the |
| function | test_context_block_renders_whichever_state_is_live |
116 | The block must agree with _runs(): whichever class of process is alive |
| function | test_pretooluse_without_an_authoritative_run_allows |
135 | A heavy command with NO authoritative run in flight passes silently — |
| function | test_main_with_a_broken_stdin_still_reports_context |
153 | A closed stdin raises on isatty()/read(); main() must swallow it and |