MCPcopy Index your code
hub / github.com/plotly/dash / test_mcps001_initialize

Function test_mcps001_initialize

tests/unit/mcp/test_mcp_server.py:53–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52
53def test_mcps001_initialize():
54 app = _make_app()
55 result = _mcp(app, "initialize")
56
57 assert result is not None
58 assert result["id"] == 1
59 assert result["jsonrpc"] == "2.0"
60 assert result["result"]["protocolVersion"] == LATEST_PROTOCOL_VERSION
61 assert "serverInfo" in result["result"]
62
63
64def test_mcps002_tools_call():

Callers

nothing calls this directly

Calls 2

_make_appFunction · 0.90
_mcpFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…