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

Method test_fragmented_control_frame

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

Source from the content-addressed store, hash-verified

164 self.parse(b"\x88\x7e\x00\x7e" + 126 * b"a", mask=False)
165
166 def test_fragmented_control_frame(self):
167 # Fin bit correctly set.
168 self.parse(b"\x88\x00", mask=False)
169 # Fin bit incorrectly unset.
170 with self.assertRaises(ProtocolError):
171 self.parse(b"\x08\x00", mask=False)
172
173 def test_extensions(self):
174 class Rot13:

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected