Orchestrata Ultimate › Tests › Reference › generated_recovery › test_governance_event_emitting_policy_engine

Tests reference — tests/generated_recovery/test_governance_event_emitting_policy_engine.py

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

Prose pending.

tests/generated_recovery/test_governance_event_emitting_policy_engine.py

source · 5 tests · 140 lines

Auto-generated tests for: governance.event_emitting_policy_engine

Covers: governance.event_emitting_policy_engine, governance.policy_engine, governance.prolog_client, infra.prolog_bridge, core.interfaces/ (package)

Kind Name Line Description
class TestEventEmittingPolicyEngineEvaluateBranches 58 Branch/exception tests for: governance.event_emitting_policy_engine.EventEmittingPolicyEngine.evaluate
method TestEventEmittingPolicyEngineEvaluateBranches.test_L62_when_self_event_bus_is_not_none_true 86 Line 62: condition self._event_bus is not None is True.
method TestEventEmittingPolicyEngineEvaluateBranches.test_L62_when_self_event_bus_is_not_none_false 95 Line 62: condition self._event_bus is not None is False.
method TestEventEmittingPolicyEngineEvaluateBranches.test_handles_Exception_L63 104 Line 63: Exception handler — suppressed.
method TestEventEmittingPolicyEngineEvaluateBranches.test_L78_when_not_decision_allowed_true 123 Line 78: condition not decision.allowed is True.
method TestEventEmittingPolicyEngineEvaluateBranches.test_L78_when_not_decision_allowed_false 133 Line 78: condition not decision.allowed is False.