MCPcopy Index your code
hub / github.com/python-websockets/websockets / test_very_long

Method test_very_long

tests/test_frames.py:117–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 )
116
117 def test_very_long(self):
118 self.assertFrameData(
119 Frame(OP_BINARY, 65536 * b"a"),
120 b"\x82\x7f\x00\x00\x00\x00\x00\x01\x00\x00" + 65536 * b"a",
121 mask=False,
122 )
123
124 def test_payload_too_big(self):
125 with self.assertRaises(PayloadTooBig):

Callers

nothing calls this directly

Calls 2

assertFrameDataMethod · 0.80
FrameClass · 0.50

Tested by

no test coverage detected