MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / assert_rpc_success

Function assert_rpc_success

tests/test_daemon_smoke.py:455–457  ·  view source on GitHub ↗
(response, label)

Source from the content-addressed store, hash-verified

453
454
455def assert_rpc_success(response, label):
456 check("error" not in response, label + " returned JSON-RPC error: " + repr(response))
457 check("result" in response, label + " returned no result: " + repr(response))
458
459
460def assert_rpc_cancelled(response, label):

Callers 3

start_ready_mcp_clientFunction · 0.85
mainFunction · 0.85

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected