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

Method test_pong_default

tests/legacy/test_protocol.py:877–879  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

875 # Test the pong coroutine.
876
877 def test_pong_default(self):
878 self.loop.run_until_complete(self.protocol.pong())
879 self.assertOneFrameSent(True, OP_PONG, b"")
880
881 def test_pong_text(self):
882 self.loop.run_until_complete(self.protocol.pong("café"))

Callers

nothing calls this directly

Calls 2

assertOneFrameSentMethod · 0.95
pongMethod · 0.45

Tested by

no test coverage detected