Orchestrata Ultimate › Tests › Reference › claude › test_sync_context_md_coverage

Tests reference — tests/claude/test_sync_context_md_coverage.py

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

Prose pending.

tests/claude/test_sync_context_md_coverage.py

source · 5 tests · 116 lines

Coverage tests for claude/hooks/sync_context_md.py — the

Kind Name Line Description
function test_non_json_stdin_passes_through 71 A malformed payload must not crash the hook — it prints {} and exits 0.
function test_non_context_json_file_is_ignored 86 Only edits to context.json trigger a sync; everything else is a no-op.
function test_empty_file_path_is_ignored 93
function test_context_json_edit_under_default_layout_runs_import 99 A real context.json edit with the shipped layout: the tools/ dir exists
function test_context_json_edit_under_plugin_layout_without_tools 108 CLAUDE_PLUGIN_ROOT pointing at a dir with no tools/: the sys.path insert