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

Function assert_rpc_cancelled

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

Source from the content-addressed store, hash-verified

458
459
460def assert_rpc_cancelled(response, label):
461 error = response.get("error")
462 check(
463 isinstance(error, dict) and error.get("code") == -32800,
464 label + " did not return JSON-RPC request-cancelled: " + repr(response),
465 )
466 check("result" not in response, label + " returned both error and result")
467
468
469def start_ready_mcp_client(

Callers 1

mainFunction · 0.85

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected