MCPcopy Create free account
hub / github.com/python-websockets/websockets / test_non_ascii_text_masked

Method test_non_ascii_text_masked

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

Source from the content-addressed store, hash-verified

80 )
81
82 def test_non_ascii_text_masked(self):
83 self.assertFrameData(
84 Frame(OP_TEXT, "café".encode()),
85 b"\x81\x85\x64\xbe\xee\x7e\x07\xdf\x88\xbd\xcd",
86 mask=True,
87 )
88
89 def test_close(self):
90 self.assertFrameData(

Callers

nothing calls this directly

Calls 3

assertFrameDataMethod · 0.80
FrameClass · 0.50
encodeMethod · 0.45

Tested by

no test coverage detected