Orchestrata Ultimate › Tests › Reference › claude › test_unshipped_guard
Tests reference — tests/claude/test_unshipped_guard.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_unshipped_guard.py
source · 7 tests · 186 lines
Tests for
claude/hooks/unshipped_guard.py— the Stop hook that refuses to
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_a_repo_local_ship_invoked_relatively_is_seen |
73 | bash deploy/ship.sh — the command that works when the gate is broken. |
| function | test_an_absolute_invocation_of_the_same_script_is_seen |
93 | The absolute form must not depend on the relative fix, or vice versa. |
| function | test_a_ship_for_a_DIFFERENT_repo_is_not_seen |
108 | Silence must be earned per repo. |
| function | test_a_command_merely_mentioning_ship_is_not_seen |
129 | The regression that silently disabled the guard. |
| function | test_a_process_SEARCHING_for_ship_is_not_a_ship |
151 | The second false positive, found by the test above failing. |
| function | test_no_ship_running_is_not_seen |
176 | The baseline the other cases are measured against. |
| function | test_a_repo_without_its_own_ship_script_does_not_crash |
181 | Not every watched repo carries deploy/ship.sh; absence is not an error. |