Orchestrata Ultimate › Tests › Reference › claude › test_block_except_pass_coverage

Tests reference — tests/claude/test_block_except_pass_coverage.py

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

Prose pending.

tests/claude/test_block_except_pass_coverage.py

source · 10 tests · 136 lines

Tests for claude/hooks/block_except_pass.py.

Kind Name Line Description
function test_invalid_json_steps_aside 57
function test_non_python_file_is_ignored 61
function test_unparseable_python_is_let_through 65
function test_bare_except_is_blocked 75
function test_except_name_pass_is_blocked 81
function test_except_tuple_pass_is_blocked 90
function test_except_as_name_pass_is_blocked 101
function test_except_with_logged_body_is_allowed 114
function test_except_attribute_type_with_pass_is_allowed 124
function test_clean_file_is_allowed 135