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

Function failing_async_command

tests/cli/test_run_command.py:102–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101
102async def failing_async_command():
103 # Commands now use context manager, no tool_manager parameter
104 from mcp_cli.context import get_context
105
106 get_context()
107 raise RuntimeError("Command failure")
108
109
110# --------------------------------------------------------------------------- #

Callers

nothing calls this directly

Calls 1

get_contextFunction · 0.90

Tested by

no test coverage detected