Orchestrata Ultimate › Tests › Reference › kernel › test_router_expanded

Tests reference — tests/kernel/test_router_expanded.py

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

Prose pending.

tests/kernel/test_router_expanded.py

source · 42 tests · 378 lines

Expanded tests for kernel.router.

Covers: agents.volk_registry, kernel.router, core.packet/ (package)

Kind Name Line Description
class TestRoutingMetrics 92
method TestRoutingMetrics.test_update_latency 93
method TestRoutingMetrics.test_success_rate_zero 103
method TestRoutingMetrics.test_success_rate_half 107
method TestRoutingMetrics.test_to_dict 113
class TestRoutingResult 124
method TestRoutingResult.test_to_dict 125
class TestCXPRouterInit 141
method TestCXPRouterInit.test_init 142
class TestCXPRouterValidateSchema 149
method TestCXPRouterValidateSchema.test_valid_packet 150
method TestCXPRouterValidateSchema.test_invalid_packet 155
class TestCXPRouterResolveRecipients 163
method TestCXPRouterResolveRecipients.test_resolve_broadcast 165
method TestCXPRouterResolveRecipients.test_resolve_multicast 173
method TestCXPRouterResolveRecipients.test_resolve_unicast_alias 179
method TestCXPRouterResolveRecipients.test_resolve_unicast_role 185
method TestCXPRouterResolveRecipients.test_resolve_unknown 191
class TestCXPRouterDetermineMode 196
method TestCXPRouterDetermineMode.test_broadcast 197
method TestCXPRouterDetermineMode.test_broadcast_lower 200
method TestCXPRouterDetermineMode.test_multicast 203
method TestCXPRouterDetermineMode.test_unicast 206
class TestCXPRouterGetAllVolks 210
method TestCXPRouterGetAllVolks.test_get_all 211
class TestCXPRouterIsVolkOnline 218
method TestCXPRouterIsVolkOnline.test_online 219
method TestCXPRouterIsVolkOnline.test_offline 223
method TestCXPRouterIsVolkOnline.test_not_found 227
class TestCXPRouterTrackMessage 231
method TestCXPRouterTrackMessage.test_track_new 232
method TestCXPRouterTrackMessage.test_track_existing 239
class TestCXPRouterTrace 249
method TestCXPRouterTrace.test_add_trace 250
method TestCXPRouterTrace.test_trace_eviction 255
class TestCXPRouterGetMessageStatus 264
method TestCXPRouterGetMessageStatus.test_get_existing 265
method TestCXPRouterGetMessageStatus.test_get_missing 273
class TestCXPRouterGetMessageTrace 277
method TestCXPRouterGetMessageTrace.test_get_trace 278
class TestCXPRouterGetMetrics 285
method TestCXPRouterGetMetrics.test_get_metrics 286
class TestCXPRouterDetermineStatus 291
method TestCXPRouterDetermineStatus.test_no_recipients 292
method TestCXPRouterDetermineStatus.test_all_offline 296
method TestCXPRouterDetermineStatus.test_partial_offline 301
method TestCXPRouterDetermineStatus.test_all_online 308
class TestCXPRouterRoute 314
method TestCXPRouterRoute.test_route_schema_failure 316
method TestCXPRouterRoute.test_route_invalid_sender 323
method TestCXPRouterRoute.test_route_invalid_recipient 329
method TestCXPRouterRoute.test_route_success 336
class TestCXPRouterValidateSender 344
method TestCXPRouterValidateSender.test_valid_sender 346
method TestCXPRouterValidateSender.test_unknown_sender 352
method TestCXPRouterValidateSender.test_terminated_sender 357
class TestCXPRouterResolveAndValidate 363
method TestCXPRouterResolveAndValidate.test_success 365
method TestCXPRouterResolveAndValidate.test_resolve_failure 373