Orchestrata Ultimate › Tests › Reference › claude › test_permission_no_hang_coverage

Tests reference — tests/claude/test_permission_no_hang_coverage.py

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

Prose pending.

tests/claude/test_permission_no_hang_coverage.py

source · 9 tests · 128 lines

In-process coverage tests for claude/hooks/permission_no_hang.py.

Kind Name Line Description
function test_decide_ignores_other_hook_events 61
function test_decide_stays_out_when_verdict_is_allow 68
function test_decide_stays_out_when_verdict_is_missing 72
function test_decide_denies_and_quotes_bash_command 76
function test_decide_denies_non_bash_without_command_detail 83
function test_decide_bash_with_empty_command_has_no_detail 96
function test_main_emits_denial_on_stdout_and_stderr 109
function test_main_stays_out_when_verdict_is_allow 119
function test_main_unreadable_payload_exits_cleanly 125