Orchestrata Ultimate › Tests › Reference › claude › test_test_isolation_hook_coverage

Tests reference — tests/claude/test_test_isolation_hook_coverage.py

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

Prose pending.

tests/claude/test_test_isolation_hook_coverage.py

source · 8 tests · 131 lines

Coverage tests for claude/hooks/test_isolation_hook.py.

Kind Name Line Description
function test_is_test_file_names 53
function test_invalid_json_returns_zero 67
function test_no_file_path_returns_zero 73
function test_non_test_file_returns_zero 79
function test_missing_test_file_returns_zero 85
function test_clean_test_file_prints_nothing 93
function test_leaky_test_file_reports_finding 104 A module-level os.environ mutation is exactly the import-time leak
function test_auditor_timeout_is_swallowed 118 A real auditor that hangs past the (real) timeout raises TimeoutExpired,