Orchestrata Ultimate › Tests › Reference › claude › test_claude_irc_inbox_coverage

Tests reference — tests/claude/test_claude_irc_inbox_coverage.py

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

Prose pending.

tests/claude/test_claude_irc_inbox_coverage.py

source · 22 tests · 334 lines

Coverage tests for claude/tools/claude_irc_inbox.py.

Kind Name Line Description
function test_addressed_to_claude_classifies 76
function test_is_actionable_classifies 86
function test_is_noteworthy_classifies 103
function test_read_new_with_a_missing_log 116
function test_read_new_first_run_skips_history 120
function test_read_new_returns_addressed_lines_after_offset 128
function test_read_new_with_a_corrupt_offset_treats_it_as_first_run 141
function test_read_new_after_truncation_resets_to_start 151
function test_read_new_with_an_unreadable_log 159
function test_write_offset_creates_the_state_dir 172
function test_write_offset_swallows_an_unwritable_location 177
function test_backlog_first_run_shows_fyi_tail 185
function test_backlog_caps_at_backlog_max 203
function test_backlog_prefers_genuinely_new_lines 213
function test_backlog_with_no_log_at_all_is_silent 222
function test_inject_delivers_only_new_lines 231
function test_stop_blocks_on_an_actionable_message 250
function test_stop_does_not_block_on_a_bare_ack 266
function test_stop_hook_active_short_circuits 278
function test_stop_with_an_unreadable_stdin_fails_open 292 A stdin whose isatty() works but whose read() raises (a write-mode
function test_stop_with_malformed_stdin_still_advances_the_offset 312
function test_filter_mode_prints_only_noteworthy_lines 324