(
self,
*,
result: Any = "ok",
success: bool = True,
error: str | None = None,
raise_exc: Exception | None = None,
)
| 39 | """Minimal ToolManager stub for testing McpToolBackend.""" |
| 40 | |
| 41 | def __init__( |
| 42 | self, |
| 43 | *, |
| 44 | result: Any = "ok", |
| 45 | success: bool = True, |
| 46 | error: str | None = None, |
| 47 | raise_exc: Exception | None = None, |
| 48 | ): |
| 49 | self._result = result |
| 50 | self._success = success |
| 51 | self._error = error |
| 52 | self._raise_exc = raise_exc |
| 53 | self.calls: list[tuple[str, dict, str | None]] = [] |
| 54 | |
| 55 | async def execute_tool( |
| 56 | self, |
nothing calls this directly
no outgoing calls
no test coverage detected