Orchestrata Ultimate › Tests › Reference › claude › test_intercept_edit_coverage

Tests reference — tests/claude/test_intercept_edit_coverage.py

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

Prose pending.

tests/claude/test_intercept_edit_coverage.py

source · 5 tests · 171 lines

In-process coverage tests for claude/hooks/intercept_edit.py.

Kind Name Line Description
function test_malformed_stdin_emits_empty_object 90
function test_empty_file_path_allows_without_checkpoint 96
function test_edit_outside_a_repo_still_allows 103 The checkpoint is best-effort; the edit itself must never be held up.
function test_edit_in_repo_creates_recoverable_checkpoint 123
function test_edit_with_legacy_top_level_shape_allows 164