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

Method test_nonstarted_send_str

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

Source from the content-addressed store, hash-verified

56 ws.pong()
57
58 def test_nonstarted_send_str(self):
59 ws = WebSocketResponse()
60 with self.assertRaises(RuntimeError):
61 ws.send_str('string')
62
63 def test_nonstarted_send_bytes(self):
64 ws = WebSocketResponse()

Callers

nothing calls this directly

Calls 2

send_strMethod · 0.95
WebSocketResponseClass · 0.90

Tested by

no test coverage detected