Orchestrata Ultimate › Tests › Reference › claude › test_workflow_context_inject_coverage
Tests reference — tests/claude/test_workflow_context_inject_coverage.py
Module of tests/claude, split out because the directory page would be too large.
Prose pending.
tests/claude/test_workflow_context_inject_coverage.py
source · 14 tests · 248 lines
Coverage tests for
claude/hooks/workflow_context_inject.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_state_path_sanitizes_session_id |
68 | |
| function | test_load_seen_missing_file_returns_empty |
75 | |
| function | test_load_seen_invalid_json_returns_empty |
80 | |
| function | test_load_seen_reads_a_set |
87 | |
| function | test_save_seen_writes_file |
94 | |
| function | test_save_seen_swallows_oserror |
101 | A state path whose parent is a FILE makes mkdir raise; the hook must |
| function | test_invalid_json_returns_zero |
113 | |
| function | test_blank_prompt_returns_zero |
119 | |
| function | test_missing_workflow_dir_returns_zero |
128 | |
| function | test_no_matching_domain_returns_zero |
137 | |
| function | test_development_prompt_emits_structured_context |
150 | |
| function | test_repeat_domain_is_reminded_not_reinjected |
177 | |
| function | test_multiple_domains_are_all_named |
199 | |
| function | test_non_prompt_event_emits_plain_text |
226 |