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

Method test_text_masked

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

Source from the content-addressed store, hash-verified

52 )
53
54 def test_text_masked(self):
55 self.assertFrameData(
56 Frame(OP_TEXT, b"Spam"),
57 b"\x81\x84\x5b\xfb\xe1\xa8\x08\x8b\x80\xc5",
58 mask=True,
59 )
60
61 def test_binary_unmasked(self):
62 self.assertFrameData(

Callers

nothing calls this directly

Calls 2

assertFrameDataMethod · 0.80
FrameClass · 0.50

Tested by

no test coverage detected