| 10 | |
| 11 | |
| 12 | class FakeServer: |
| 13 | def __init__(self): |
| 14 | self.tool_name = None |
| 15 | self.arguments = None |
| 16 | |
| 17 | async def handle_tool_call(self, tool_name, arguments): |
| 18 | self.tool_name = tool_name |
| 19 | self.arguments = arguments |
| 20 | return {"rows": [{"count": 1}]} |
| 21 | |
| 22 | |
| 23 | def test_execute_query_passes_cypher_query_argument(monkeypatch): |
no outgoing calls