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

Method test_nonstarted_ping

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

Source from the content-addressed store, hash-verified

46 return req
47
48 def test_nonstarted_ping(self):
49 ws = WebSocketResponse()
50 with self.assertRaises(RuntimeError):
51 ws.ping()
52
53 def test_nonstarted_pong(self):
54 ws = WebSocketResponse()

Callers

nothing calls this directly

Calls 2

pingMethod · 0.95
WebSocketResponseClass · 0.90

Tested by

no test coverage detected