MCPcopy
hub / github.com/aio-libs/aiohttp / test_ping

Function test_ping

tests/test_websocket_writer.py:22–24  ·  view source on GitHub ↗
(transport, writer)

Source from the content-addressed store, hash-verified

20
21
22def test_ping(transport, writer):
23 writer.ping()
24 transport.write.assert_called_with(b'\x89\x00')
25
26
27def test_send_text(transport, writer):

Callers

nothing calls this directly

Calls 1

pingMethod · 0.45

Tested by

no test coverage detected