Orchestrata Ultimate › Tests › Reference › claude › test_error_gate_hook_fallback_coverage

Tests reference — tests/claude/test_error_gate_hook_fallback_coverage.py

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

Prose pending.

tests/claude/test_error_gate_hook_fallback_coverage.py

source · 5 tests · 88 lines

In-process coverage tests for the @traces fallback in

Kind Name Line Description
function test_legacy_orchestrata_traceability_is_not_importable 37 Pin the premise: the legacy package is absent, so the hook's
function test_fallback_traces_is_defined_in_the_hook_module 50 Because the legacy import fails, traces must be the fallback
function test_fallback_traces_returns_decorated_function_unchanged 58 The no-op decorator must accept the real decorator's kwargs shape
function test_fallback_traces_accepts_no_arguments 71 All fallback parameters default to None, so a bare @traces()
function test_hook_still_exposes_error_gate_main_with_fallback_active 82 End-to-end shape of the fallback path: after the failed legacy import