ToolManager with mocked get_all_tools for cache testing.
()
| 231 | |
| 232 | @pytest.fixture |
| 233 | def cache_manager(): |
| 234 | """ToolManager with mocked get_all_tools for cache testing.""" |
| 235 | tm = ToolManager(config_file="dummy.json", servers=[]) |
| 236 | tm.get_all_tools = AsyncMock(return_value=_make_tools()) |
| 237 | return tm |
| 238 | |
| 239 | |
| 240 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected