Orchestrata Ultimate › Tests › Reference › claude › test_plugin_path_independence
Tests reference — tests/claude/test_plugin_path_independence.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_plugin_path_independence.py
source · 8 tests · 306 lines
Tests for plugin-path independence across
claude/hooksandclaude/tools.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_tree_path_resolves_from_own_directory_when_unset |
90 | CLAUDE_PLUGIN_ROOT unset — today's ~/.claude deployment. |
| function | test_tree_path_resolves_via_plugin_root_when_set |
111 | CLAUDE_PLUGIN_ROOT set to a directory OTHER than where the hook file |
| function | test_tree_path_ignores_a_decoy_beside_the_hook_when_plugin_root_set |
134 | Proves CLAUDE_PLUGIN_ROOT genuinely OVERRIDES file-relative resolution, |
| function | test_tree_path_missing_tool_is_silent_not_an_error |
168 | Neither resolution mode may turn a missing sibling tool into a crash: |
| function | test_state_dir_falls_back_to_home_claude_when_unset |
191 | CLAUDE_PLUGIN_DATA unset — today's behaviour: state lands under |
| function | test_state_dir_prefers_plugin_data_when_set |
210 | CLAUDE_PLUGIN_DATA set — the plugin layout: state must land there, NOT |
| function | test_workflow_dir_resolves_from_own_directory_when_unset |
253 | CLAUDE_PLUGIN_ROOT unset — today's ~/.claude deployment. The hook must |
| function | test_workflow_dir_resolves_via_plugin_root_and_ignores_a_decoy |
275 | CLAUDE_PLUGIN_ROOT set to a directory OTHER than where the hook file |