Orchestrata Ultimate › Tests › Reference › agents › test_task_executor

Tests reference — tests/agents/test_task_executor.py

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

Prose pending.

tests/agents/test_task_executor.py

source · 23 tests · 561 lines

Covers: agents.exceptions, agents.pool, agents.runtime, agents.task_executor, agents.types, agents.volk_registry, core.packet/ (package)

Kind Name Line Description
function test_utc_now_returns_timezone_aware 202
function test_task_to_packet_maps_fields 207
function test_task_to_packet_default_from_agent 221
function test_volk_map_is_populated 227
function test_executor_init_state 237
function test_register_task_marks_pending 246
function test_submit_executes_volk_and_returns_result 262
function test_submit_with_silent_volk 280
function test_submit_volk_raises_returns_failed_result_but_records_complete 291
function test_submit_unknown_alias_returns_failure 309 When task.target isn't in the class map, _execute_task returns failure.
function test_submit_volk_constructor_raises_triggers_task_execution_error 341
function test_submit_with_postman_and_same_target_response 357 When the Volk's response addresses the original target, no routing happens.
function test_submit_with_echo_skips_routing_when_postman_none 376 Submit completes normally when postman is None even if volk returns a response.
function test_resolve_alias_uses_task_target 392
function test_resolve_alias_falls_back_to_prolog 400
function test_submit_pool_acquire_raises_wraps_as_assignment_error 425
function test_cancel_pending_task 446
function test_cancel_unknown_raises 458
function test_cancel_terminal_raises 467
function test_cancel_executing_releases_instance 477
function test_get_task_and_status_and_result 497
function test_list_tasks_filters 515
function test_pending_executing_completed_counts 547