MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / test_continuation_err

Function test_continuation_err

tests/test_websocket_parser.py:449–454  ·  view source on GitHub ↗
(
    out: WebSocketDataQueue, parser: PatchableWebSocketReader
)

Source from the content-addressed store, hash-verified

447
448
449def test_continuation_err(
450 out: WebSocketDataQueue, parser: PatchableWebSocketReader
451) -> None:
452 parser._handle_frame(False, WSMsgType.TEXT, b"line1", 0)
453 with pytest.raises(WebSocketError):
454 parser._handle_frame(True, WSMsgType.TEXT, b"line2", 0)
455
456
457def test_continuation_with_close(

Callers

nothing calls this directly

Calls 1

_handle_frameMethod · 0.45

Tested by

no test coverage detected