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

Method test_nonstarted_pong

tests/test_web_websocket.py:53–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 ws.ping()
52
53 def test_nonstarted_pong(self):
54 ws = WebSocketResponse()
55 with self.assertRaises(RuntimeError):
56 ws.pong()
57
58 def test_nonstarted_send_str(self):
59 ws = WebSocketResponse()

Callers

nothing calls this directly

Calls 2

pongMethod · 0.95
WebSocketResponseClass · 0.90

Tested by

no test coverage detected