Orchestrata Ultimate › Tests › Reference › claude › test_posttool_auditor_coverage

Tests reference — tests/claude/test_posttool_auditor_coverage.py

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

Prose pending.

tests/claude/test_posttool_auditor_coverage.py

source · 4 tests · 104 lines

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

Kind Name Line Description
function test_malformed_stdin_emits_empty_object 51
function test_tool_call_is_recorded 57
function test_error_flag_and_unknown_session_are_recorded 81
function test_write_failure_is_swallowed 94 An audit write failure (session file path is a directory) must not block.