Orchestrata Ultimate › Tests › Reference › scripts › test_no_xdist

Tests reference — tests/scripts/test_no_xdist.py

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

Prose pending.

tests/scripts/test_no_xdist.py

source · 7 tests · 167 lines

Tests for .claude/hooks/no-xdist.sh — the PreToolUse(Bash) guard enforcing

Kind Name Line Description
function test_xdist_invocations_are_denied 73
function test_sanctioned_test_runs_are_allowed 93
function test_dash_n_outside_the_pytest_segment_is_not_xdist 108 -n <digits> is the ordinary form of head/tail/sed. The flag means
function test_mentions_are_not_invocations 125 A command that TALKS ABOUT xdist does not run it. Blocking those makes
function test_an_unreadable_payload_is_denied_not_allowed 136
function test_hook_is_registered_as_a_bash_pretooluse_hook 151 RUL-023: a hook nothing invokes is not a delivery.
function test_the_hook_does_not_depend_on_jq 166