Orchestrata Ultimate › Tests › Reference › orchestrator › test_intent_broker_router_behavioral

Tests reference — tests/orchestrator/test_intent_broker_router_behavioral.py

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

Prose pending.

tests/orchestrator/test_intent_broker_router_behavioral.py

source · 22 tests · 580 lines

Behavioral tests for intent broker, router, and dispatcher.

Covers: agents.volk_registry, knowledge_graph.config, orchestrator.impact.analyzer, orchestrator.impact.dependency_analyzer, orchestrator.intent_broker, orchestrator.intent_lifecycle, orchestrator.intent_router, orchestrator.intent_types, orchestrator.intent_validator, postman.postman

Kind Name Line Description
class TestIntentRouter 114
method TestIntentRouter.test_route_explicit_target 115
method TestIntentRouter.test_route_via_mapping 130
method TestIntentRouter.test_route_fallback 143
method TestIntentRouter.test_route_no_volks 156
class TestIntentDispatcher 170
method TestIntentDispatcher.test_dispatch_success 171
method TestIntentDispatcher.test_dispatch_no_handler_registered_fails_cleanly 185 No Postman handler registered for the target -> real 'no route'
class TestIntentBroker 202
method TestIntentBroker.test_process_intent_success 203
method TestIntentBroker.test_process_intent_validation_failed 226
method TestIntentBroker.test_process_intent_routing_failed 249
method TestIntentBroker.test_process_tool_call 275
method TestIntentBroker.test_process_tool_call_unknown 293
method TestIntentBroker.test_validate_only 307
method TestIntentBroker.test_route_only 330
method TestIntentBroker.test_get_intent 350
method TestIntentBroker.test_get_metrics 374
method TestIntentBroker.test_close 388
method TestIntentBroker.test_process_intent_with_impact_analysis 400 Run through the pipeline with the real impact analyzer enabled.
method TestIntentBroker.test_process_intent_impact_analysis_exception 445 Real impact analyzer raising during analyze() is logged and ignored.
method TestIntentBroker.test_process_intent_exception 494 Force an exception in the pipeline via an unreachable Redis.
method TestIntentBroker.test_build_intent_text 538
class TestBrokerMetrics 563
method TestBrokerMetrics.test_record_and_to_dict 564
method TestBrokerMetrics.test_avg_latency_zero 578