Orchestrata Ultimate › Tests › Reference › claude › test_infra_check_coverage
Tests reference — tests/claude/test_infra_check_coverage.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_infra_check_coverage.py
source · 14 tests · 172 lines
In-process coverage tests for
claude/hooks/infra_check.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_find_context_walks_up_to_context_json |
54 | |
| function | test_find_context_returns_none_without_marker |
60 | |
| function | test_run_infra_check_script_not_found |
65 | |
| function | test_run_infra_check_parses_json_report |
72 | |
| function | test_run_infra_check_nonzero_exit |
83 | |
| function | test_run_infra_check_invalid_json_is_caught |
93 | |
| function | test_status_icon |
101 | |
| function | test_build_message_error |
109 | |
| function | test_build_message_none_when_all_ok_unknown |
116 | |
| function | test_build_message_green_when_ready |
121 | |
| function | test_build_message_red_when_down |
134 | |
| function | test_main_is_silent_for_ordinary_messages |
147 | |
| function | test_main_emits_system_message_when_triggered |
155 | |
| function | test_main_unreadable_stdin_defaults_to_empty_hook |
169 |