(self)
| 16 | f2.set_state(f.get_state()) |
| 17 | |
| 18 | def test_formatting(self): |
| 19 | tf = tflow.twebsocketflow().websocket |
| 20 | formatted_messages = tf._get_formatted_messages() |
| 21 | assert b"[OUTGOING] hello binary" in formatted_messages |
| 22 | assert b"[OUTGOING] hello text" in formatted_messages |
| 23 | assert b"[INCOMING] it's me" in formatted_messages |
| 24 | |
| 25 | |
| 26 | class TestWebSocketMessage: |
nothing calls this directly
no test coverage detected