Orchestrata Ultimate › Tests › Reference › agents › test_task_executor_real
Tests reference — tests/agents/test_task_executor_real.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_task_executor_real.py
source · 16 tests · 256 lines
Test Standards Compliance (see AGENTS.md § Test Standards):
Covers: agents.exceptions, agents.pool, agents.runtime, agents.task_executor, agents.types, agents.volk_registry, agents.volks.base, core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_task_to_packet_defaults |
69 | |
| function | test_task_to_packet_with_metadata |
77 | |
| function | test_submit_unknown_target_records_failure |
94 | Unknown alias returns TaskResult(success=False) without raising. |
| function | test_submit_unknown_volk_class_returns_failure |
103 | Known alias but no volk class mapping → success=False result. |
| function | test_submit_success_with_real_volk |
111 | Register a minimal volk class for the alias. |
| function | test_resolve_alias_empty_target_uses_prolog_default |
130 | Task with no target → Prolog find_best_volk_for_task returns 'default'. |
| function | test_cancel_pending |
138 | |
| function | test_cancel_unknown_task |
146 | |
| function | test_cancel_terminal_fails |
151 | |
| function | test_get_task_and_status |
159 | |
| function | test_get_result_empty |
168 | |
| function | test_list_tasks_filters |
172 | |
| function | test_counts |
185 | |
| function | test_cancel_executing_releases_instance |
197 | |
| function | test_execute_task_volk_raises_returns_failure |
215 | Volk process() raising exception → TaskResult(success=False). |
| function | test_execute_task_volk_response_packet |
234 | Volk returning a response packet — forwarded in output. |