Empty plan succeeds immediately.
(self, tmp_path)
| 393 | |
| 394 | @pytest.mark.asyncio |
| 395 | async def test_empty_plan(self, tmp_path): |
| 396 | """Empty plan succeeds immediately.""" |
| 397 | tm = FakeToolManager() |
| 398 | context = PlanningContext(tm, plans_dir=tmp_path / "plans") |
| 399 | runner = PlanRunner(context, enable_guards=False) |
| 400 | |
| 401 | result = await runner.execute_plan( |
| 402 | {"id": "empty", "title": "Empty", "steps": []}, |
| 403 | checkpoint=False, |
| 404 | ) |
| 405 | |
| 406 | assert result.success |
| 407 | assert len(result.steps) == 0 |
| 408 | |
| 409 | @pytest.mark.asyncio |
| 410 | async def test_execution_callbacks(self, tmp_path): |
nothing calls this directly
no test coverage detected