Orchestrata Ultimate › Tests › Reference › claude › test_install_secret_guard_coverage

Tests reference — tests/claude/test_install_secret_guard_coverage.py

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

Prose pending.

tests/claude/test_install_secret_guard_coverage.py

source · 13 tests · 185 lines

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

Kind Name Line Description
function test_mask_quoted_blanks_inside_quotes 87
function test_segments_split_quote_aware 96
function test_tokens_of_handles_unmatched_quote 105
function test_verdict_blocks_expected_commands 112
function test_verdict_allows_expected_commands 118
function test_install_verdict_skips_leading_assignments 124
function test_install_verdict_non_installer_is_none 130
function test_install_verdict_pip_requires_install_subcommand 137
function test_secret_verdict_requires_reader_and_path 145
function test_main_blocks_with_exit_two 160
function test_main_allows_the_pinned_path 168
function test_main_ignores_non_bash_tools 175
function test_main_unreadable_payload_stands_down 182