Orchestrata Ultimate › Tests › Reference › claude › test_stop_audit_transcript_coverage

Tests reference — tests/claude/test_stop_audit_transcript_coverage.py

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

Prose pending.

tests/claude/test_stop_audit_transcript_coverage.py

source · 12 tests · 119 lines

Coverage tests for claude/hooks/stop_audit/transcript.py — the JSONL

Kind Name Line Description
function test_parse_jsonl_file_returns_entries 37
function test_parse_jsonl_file_skips_blank_lines 44
function test_parse_jsonl_file_skips_corrupt_lines 51
function test_parse_jsonl_file_missing_returns_empty 59
function test_extract_texts_from_content_str 64
function test_extract_texts_from_content_empty_str 69
function test_extract_texts_from_content_non_list 74
function test_extract_texts_from_content_blocks 79
function test_extract_assistant_messages_empty_path 91
function test_extract_assistant_messages_missing_file 96
function test_extract_assistant_messages_str_and_block_content 101
function test_extract_assistant_messages_no_assistant 115