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

Method test_initialized_notification

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

Source from the content-addressed store, hash-verified

175
176 @pytest.mark.asyncio
177 async def test_initialized_notification(self):
178 bridge, _ = _make_bridge()
179 msg = json.dumps(
180 {
181 "jsonrpc": "2.0",
182 "method": "ui/notifications/initialized",
183 "params": {},
184 }
185 )
186
187 resp = await bridge.handle_message(msg)
188 assert resp is None
189 assert bridge.app_info.state == AppState.READY
190
191 @pytest.mark.asyncio
192 async def test_unknown_request(self):

Callers

nothing calls this directly

Calls 2

handle_messageMethod · 0.80
_make_bridgeFunction · 0.70

Tested by

no test coverage detected