Orchestrata Ultimate › Tests › Reference › orchestrator › test_intent_router

Tests reference — tests/orchestrator/test_intent_router.py

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

Prose pending.

tests/orchestrator/test_intent_router.py

source · 17 tests · 375 lines

Covers: orchestrator.intent_router, orchestrator.intent_types, postman.postman, core.packet/ (package)

Kind Name Line Description
function test_route_explicit_target 179
function test_route_explicit_target_not_registered 188
function test_route_mapping_read_file 197
function test_route_mapping_write_code 205
function test_route_fallback 212
function test_route_no_mapping_no_fallback 223
function test_route_capability_lookup 235
function test_route_prefers_healthy_volk 254 Health-aware routing skips an unhealthy primary and chooses a healthy
function test_route_falls_back_when_all_unhealthy 266 When every candidate is unhealthy, routing falls back to all candidates
function test_route_health_aware_capability_lookup 278 Capability-based routing also prefers healthy volks.
function test_route_priority_mapping 299
function test_dispatch_success 320
function test_dispatch_no_route_fails_cleanly 331 No Postman handler registered for the target -> real 'no route'
function test_dispatch_creates_packet 346
function test_dispatch_packet_priority_critical 357
function test_dispatch_packet_priority_background 364
function test_dispatch_includes_context 371