Orchestrata Ultimate › Tests › Reference › agents › test_communication
Tests reference — tests/agents/test_communication.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_communication.py
source · 28 tests · 304 lines
Covers: agents.communication, agents.hierarchy, core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_communication_error_attributes |
64 | |
| function | test_can_communicate_same_agent |
76 | |
| function | test_can_communicate_parent_child |
80 | |
| function | test_can_communicate_siblings |
85 | |
| function | test_can_communicate_cross_hierarchy_denied |
89 | |
| function | test_can_communicate_prolog_allows |
94 | |
| function | test_can_communicate_prolog_denies |
106 | |
| function | test_can_communicate_prolog_exception_denies |
118 | |
| function | test_send_to_parent_delivers_packet |
135 | |
| function | test_send_to_parent_from_root_raises |
145 | |
| function | test_send_to_parent_delivers_to_mailbox |
151 | |
| function | test_send_to_child_delivers |
161 | |
| function | test_send_to_child_not_actually_child_raises |
168 | |
| function | test_broadcast_to_children_sends_to_all |
180 | |
| function | test_broadcast_to_children_no_children |
188 | |
| function | test_send_to_sibling_ok |
200 | |
| function | test_send_to_sibling_non_sibling_raises |
207 | |
| function | test_send_to_sibling_root_no_sibling |
212 | |
| function | test_escalate_message_sends_high_priority |
222 | |
| function | test_escalate_message_from_root_raises |
229 | |
| function | test_receive_drains_mailbox |
239 | |
| function | test_receive_unknown_agent_returns_empty |
248 | |
| function | test_peek_returns_count |
252 | |
| function | test_peek_unknown_agent_zero |
260 | |
| function | test_get_metrics_tracks_sent_received |
269 | |
| function | test_get_metrics_empty |
283 | |
| function | test_build_packet_has_ids |
293 | |
| function | test_build_packet_custom_subject |
301 |