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

Function test_run_command_sync_success

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

Source from the content-addressed store, hash-verified

203# run_command_sync (blocking wrapper) tests
204# --------------------------------------------------------------------------- #
205def test_run_command_sync_success():
206 result = run_command_sync(
207 dummy_async_command, # works with async target
208 "dummy.json",
209 ["Sync"],
210 extra_params={"extra_arg": "bar"},
211 )
212 assert result == "ok-bar"
213 assert _ALL_TM[0].closed
214
215
216def test_run_command_sync_exception():

Callers

nothing calls this directly

Calls 1

run_command_syncFunction · 0.90

Tested by

no test coverage detected