Orchestrata Ultimate › Tests › Reference › claude › test_context_graph_coverage

Tests reference — tests/claude/test_context_graph_coverage.py

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

Prose pending.

tests/claude/test_context_graph_coverage.py

source · 28 tests · 459 lines

Tests for claude/hooks/context_graph/ (schema, loader, updater, compactor).

Kind Name Line Description
function test_get_driver_returns_driver 78
function test_create_schema_and_verify 86
function test_drop_schema_requires_confirm 98
function test_drop_schema_confirmed_deletes_ctx_nodes 103
function test_drop_schema_without_driver_uses_get_driver 120
function test_create_and_close_session 137
function test_create_session_with_previous 150
function test_create_task_and_update_status 158
function test_create_task_autogenerates_id 172
function test_add_task_dependency 180
function test_create_decision_with_files 196
function test_record_file_created_and_modified 217
function test_create_and_resolve_blocker 231
function test_create_and_resolve_error 246
function test_task_and_session_context_dataclasses 269
function test_to_markdown_empty_context 283
function test_load_session_context 309
function test_load_session_context_no_data 321
function test_load_previous_session 329
function test_load_task_context 341
function test_load_task_context_missing_returns_empty 354
function test_find_similar_sessions 360
function test_to_markdown_full_context 370
function test_compact_no_old_sessions_returns_zero 410
function test_compact_dry_run_archives_old_sessions 418
function test_compact_real_run_sets_archived 427
function test_get_stats 441
function test_compactor_context_manager_closes_owned_driver 451