Orchestrata Ultimate › Tests › Reference › agents › test_coordinator_coverage
Tests reference — tests/agents/test_coordinator_coverage.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_coordinator_coverage.py
source · 16 tests · 321 lines
Coverage-targeted tests for orchestrata_ultimate.agents.coordinator.
Covers: agents.coordinator, agents.exceptions, agents.prolog_bridge, agents.types
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_elect_leader_re_raises_leader_election_error |
81 | Line 144: elect_leader must re-raise LeaderElectionError from the try block. |
| function | test_find_first_eligible_leader_logs_no_leader |
91 | Line 107: _find_first_eligible_leader logs when no candidate is eligible. |
| function | test_assert_election_facts_directly |
113 | Cover _assert_election_facts (lines 84-89). |
| function | test_propose_consensus_re_raises_consensus_error |
129 | Line 236: propose_consensus must re-raise ConsensusError from the try block. |
| function | test_assert_consensus_group_directly |
139 | Cover _assert_consensus_group (lines 162-164). |
| function | test_cast_votes_directly |
149 | Cover _cast_votes (lines 173-174). |
| function | test_tally_consensus_directly |
161 | Cover _tally_consensus (lines 188-193). |
| function | test_submit_task_for_alias_copies_task |
182 | Cover _submit_task_for_alias (lines 256-267). |
| function | test_convert_fan_out_results_with_exception |
208 | Cover _convert_fan_out_results (lines 278-290) with an Exception entry. |
| function | test_fan_out_empty_aliases |
228 | Cover fan_out early return (lines 307-308). |
| function | test_pipeline_empty_stages_raises |
242 | Cover pipeline empty check (lines 337-338). |
| function | test_pipeline_single_stage_no_prior_output |
251 | Cover pipeline with a single stage and no prior output (lines 337-359). |
| function | test_pipeline_halts_and_returns_failure |
264 | Cover pipeline failure path (lines 353-357). |
| function | test_pipeline_non_dict_output_skips_injection |
284 | Cover pipeline where prior output is not a dict (lines 344-346). |
| function | test_agent_coordinator_alias_is_subclass |
306 | Cover AgentCoordinator class definition (lines 362-369). |
| function | test_agent_coordinator_pipeline_works |
313 | Cover AgentCoordinator pipeline delegation. |