Orchestrata Ultimate › Tests › Reference › claude › test_intercept_write_coverage
Tests reference — tests/claude/test_intercept_write_coverage.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_intercept_write_coverage.py
source · 8 tests · 138 lines
In-process coverage tests for
claude/hooks/intercept_write.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_malformed_stdin_emits_empty_object |
51 | |
| function | test_missing_file_path_steps_aside |
57 | A guard that cannot see its input must not deny the tool wholesale. |
| function | test_context_json_write_is_blocked |
66 | |
| function | test_context_md_write_is_blocked |
81 | |
| function | test_claude_plans_write_is_blocked |
93 | |
| function | test_existing_file_write_is_blocked |
107 | Existing file -> Edit, never a blind whole-file Write overwrite. |
| function | test_new_file_write_is_allowed |
119 | |
| function | test_legacy_top_level_file_path_still_works |
133 | The top-level fallback keeps direct/legacy invocation working. |