(self, return_result=None, raise_exception=False)
| 66 | |
| 67 | class DummyStreamManager: |
| 68 | def __init__(self, return_result=None, raise_exception=False): |
| 69 | # return_result: dictionary to return when call_tool is invoked. |
| 70 | self.return_result = return_result or { |
| 71 | "isError": False, |
| 72 | "content": "Successful call", |
| 73 | } |
| 74 | self.raise_exception = raise_exception |
| 75 | self.called_tool = None |
| 76 | self.called_args = None |
| 77 | |
| 78 | async def call_tool(self, tool_name, arguments): |
| 79 | self.called_tool = tool_name |
nothing calls this directly
no outgoing calls
no test coverage detected