Orchestrata Ultimate › Tests › Reference › claude › test_patch_settings_coverage

Tests reference — tests/claude/test_patch_settings_coverage.py

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

Prose pending.

tests/claude/test_patch_settings_coverage.py

source · 14 tests · 245 lines

Coverage tests for claude/scripts/patch_settings.py.

Kind Name Line Description
function test_hook_commands_yields_command_dicts 51
function test_hook_commands_no_hooks_key 65
function test_retarget_rewrites_leading_interpreter 73
function test_retarget_skips_already_retargeted 90
function test_retarget_skips_shell_and_empty 98
function test_stale_lists_rewritable_commands 114
function test_ensure_owned_hooks_adds_missing 131
function test_ensure_owned_hooks_skips_already_registered 142
function test_main_too_few_args_returns_2 157
function test_main_retargets_and_writes_backup 163
function test_main_check_reports_drift 180
function test_main_check_missing_owned_hook_fails 203
function test_main_check_clean_passes 212
function test_main_registers_owned_hooks_when_absent 234