MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_agent_stop_missing_id

Method test_agent_stop_missing_id

tests/agents/test_tools.py:72–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70
71 @pytest.mark.asyncio
72 async def test_agent_stop_missing_id(self):
73 mgr = MagicMock()
74 result = await handle_agent_tool("agent_stop", {}, mgr)
75 data = json.loads(result)
76 assert "error" in data
77
78 @pytest.mark.asyncio
79 async def test_agent_message(self):

Callers

nothing calls this directly

Calls 1

handle_agent_toolFunction · 0.90

Tested by

no test coverage detected