Esempio n. 1
0
def test_nonstarted_receive_json():
    ws = WebSocketResponse()
    with pytest.raises(RuntimeError):
        yield from ws.receive_json()
Esempio n. 2
0
def test_nonstarted_receive_json():
    ws = WebSocketResponse()
    with pytest.raises(RuntimeError):
        yield from ws.receive_json()
Esempio n. 3
0
 def go():
     ws = WebSocketResponse()
     with self.assertRaises(RuntimeError):
         yield from ws.receive_json()
Esempio n. 4
0
def function360():
    var468 = WebSocketResponse()
    with pytest.raises(RuntimeError):
        yield from var468.receive_json()
Esempio n. 5
0
 def go():
     ws = WebSocketResponse()
     with self.assertRaises(RuntimeError):
         yield from ws.receive_json()