MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / test_ka_gnn

Function test_ka_gnn

tests/tool_tests/test_molecular_prediction.py:47–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45@pytest.mark.asyncio
46@pytest.mark.mcp
47async def test_ka_gnn():
48 async with Client(MCP_URL) as client:
49
50 async def call_tool(tool_name: str, **kwargs) -> Dict[str, Any]:
51 res = await client.call_tool(tool_name, kwargs or {})
52 return getattr(res, "data", None) or {}
53
54 result = await call_tool("ka_gnn", smiles=ETHANOL, task="bbbp")
55 assert result, f"ka_gnn returned unexpected: {result}"
56
57
58@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

call_toolFunction · 0.70

Tested by

no test coverage detected