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

Method test_invalid_json

tests/apps/test_bridge.py:222–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

220
221 @pytest.mark.asyncio
222 async def test_invalid_json(self):
223 bridge, _ = _make_bridge()
224 resp = await bridge.handle_message("not json at all")
225 assert resp is None
226
227 @pytest.mark.asyncio
228 async def test_tool_call_with_exception(self):

Callers

nothing calls this directly

Calls 2

handle_messageMethod · 0.80
_make_bridgeFunction · 0.70

Tested by

no test coverage detected