(tmp_path: Path)
| 60 | |
| 61 | |
| 62 | def _ctx_with_agent(tmp_path: Path) -> tuple[ToolContext, str]: |
| 63 | ctx = ToolContext(workspace_root=tmp_path) |
| 64 | agent_id = generate_task_id("local_agent") |
| 65 | register_async_agent( |
| 66 | agent_id=agent_id, description="x", prompt="x", |
| 67 | agent_type="general-purpose", registry=ctx.runtime_tasks, |
| 68 | ) |
| 69 | return ctx, agent_id |
| 70 | |
| 71 | |
| 72 | def test_block_false_returns_not_ready_for_running_task(tmp_path: Path) -> None: |
no test coverage detected