aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/test/tflow.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/test/tflow.py')
-rw-r--r--mitmproxy/test/tflow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mitmproxy/test/tflow.py b/mitmproxy/test/tflow.py
index 4454420b..f30d8b6f 100644
--- a/mitmproxy/test/tflow.py
+++ b/mitmproxy/test/tflow.py
@@ -72,7 +72,8 @@ def twebsocketflow(client_conn=True, server_conn=True, messages=True, err=None,
if messages is True:
messages = [
websocket.WebSocketMessage(websockets.OPCODE.BINARY, True, b"hello binary"),
- websocket.WebSocketMessage(websockets.OPCODE.TEXT, False, "hello text".encode()),
+ websocket.WebSocketMessage(websockets.OPCODE.TEXT, True, "hello text".encode()),
+ websocket.WebSocketMessage(websockets.OPCODE.TEXT, False, "it's me".encode()),
]
if err is True:
err = terr()