Orchestrata Ultimate › Tests › Reference › claude › test_route_pytest_to_threads
Tests reference — tests/claude/test_route_pytest_to_threads.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_route_pytest_to_threads.py
source · 13 tests · 222 lines
Tests for
claude/hooks/route_pytest_to_threads.py— the PreToolUse(Bash)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_single_module_pytest_is_routed_not_exempted |
81 | THE defect this ships to fix: a single-module run used to be waved |
| function | test_single_nodeid_pytest_is_routed |
94 | |
| function | test_bare_pytest_no_args_is_routed_to_full_suite |
108 | |
| function | test_multi_module_still_routed |
115 | |
| function | test_env_prefixed_addopts_override_single_module_is_routed |
129 | The exact live-incident shape: worker-slot env vars + ``-o |
| function | test_uv_run_no_sync_pytest_is_detected |
145 | Regression: the old uv[ \t]+run[ \t]+pytest regex required |
| function | test_uv_run_multiple_flags_before_pytest_is_detected |
159 | |
| function | test_runner_own_invocation_is_untouched |
172 | The runner shelling out to itself must never be intercepted — this |
| function | test_seq_ok_bypass_still_works |
183 | |
| function | test_compound_single_module_is_denied_with_routed_suggestion |
188 | A compound is never auto-rewritten (rewriting inside a chain is never |
| function | test_prose_mention_of_pytest_is_untouched |
203 | |
| function | test_commit_message_mentioning_pytest_is_untouched |
208 | The live incident this hook already survived once: a commit message |
| function | test_ordinary_non_pytest_command_is_untouched |
220 |