aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/test
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2017-02-24 17:53:08 +0100
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-02-24 18:47:56 +0100
commitd17309eda8f3cf5a0a701eb4dd0ce4378655be16 (patch)
tree6f751dcca399d349d6a0f5d50dbbac9f229f3ecf /mitmproxy/test
parent83f1e2eec01ab3edec723b252b0c109f00b77c56 (diff)
downloadmitmproxy-d17309eda8f3cf5a0a701eb4dd0ce4378655be16.tar.gz
mitmproxy-d17309eda8f3cf5a0a701eb4dd0ce4378655be16.tar.bz2
mitmproxy-d17309eda8f3cf5a0a701eb4dd0ce4378655be16.zip
flowfilter: coverage++
Diffstat (limited to 'mitmproxy/test')
-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()