Orchestrata Ultimate › Tests › Reference › claude › test_register_hooks

Tests reference — tests/claude/test_register_hooks.py

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

Prose pending.

tests/claude/test_register_hooks.py

source · 5 tests · 210 lines

Tests for claude/scripts/register_hooks.py — the plugin-aware modes.

Kind Name Line Description
class TestCutover 107
method TestCutover.test_removes_exactly_the_plugin_provided_entries 108
method TestCutover.test_refuses_when_the_plugin_is_disabled 128
class TestDirectRegistrationRetired 139
method TestDirectRegistrationRetired.test_flagless_invocation_exits_2_and_names_the_two_remaining_modes 140 The write half is gone. A flagless call must refuse loudly — not
class TestPluginAwareCheck 157
method TestPluginAwareCheck.test_check_counts_plugin_provided_as_wired 158
method TestPluginAwareCheck.test_check_still_passes_with_only_a_machine_extra_hook_left 176 The extras-left-alone contract must survive the write-half