(self)
| 98 | |
| 99 | @pytest.mark.asyncio |
| 100 | async def test_agent_wait(self): |
| 101 | mgr = MagicMock() |
| 102 | mgr.wait_agent = AsyncMock( |
| 103 | return_value={"agent_id": "a1", "status": "completed", "summary": "done"} |
| 104 | ) |
| 105 | result = await handle_agent_tool("agent_wait", {"agent_id": "a1"}, mgr) |
| 106 | data = json.loads(result) |
| 107 | assert data["status"] == "completed" |
| 108 | |
| 109 | @pytest.mark.asyncio |
| 110 | async def test_agent_status(self): |
nothing calls this directly
no test coverage detected