MCPcopy Create free account
hub / github.com/IBM/mcp-cli / __init__

Method __init__

tests/tools/test_execution.py:506–512  ·  view source on GitHub ↗
(
        self, delays: dict[str, float] | None = None, default_delay: float = 0.0
    )

Source from the content-addressed store, hash-verified

504 """Mock ToolManager with configurable per-tool delays for batch timeout tests."""
505
506 def __init__(
507 self, delays: dict[str, float] | None = None, default_delay: float = 0.0
508 ):
509 self.tool_timeout = 30.0
510 self.delays = delays or {}
511 self.default_delay = default_delay
512 self.executed_tools: list[str] = []
513
514 async def execute_tool(
515 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected