()
| 40 | |
| 41 | |
| 42 | def test_phase_done_count(): |
| 43 | prog = WorkflowProgress([{"title": "S"}]) |
| 44 | prog.start_phase("S") |
| 45 | r1 = prog.agent_started(0, "a", "S", "0") |
| 46 | prog.agent_finished(r1, status="completed", tokens=1) |
| 47 | prog.agent_started(1, "b", "S", "1") # still running |
| 48 | assert prog.phases[0].done_count == 1 |
| 49 | assert len(prog.phases[0].agents) == 2 |
| 50 | |
| 51 | |
| 52 | def test_render_run_lines_rich(): |
nothing calls this directly
no test coverage detected