(self)
| 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): |
nothing calls this directly
no test coverage detected