aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/protocol/test_websockets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mitmproxy/protocol/test_websockets.py b/test/mitmproxy/protocol/test_websockets.py
index e7e2684f..e2361d89 100644
--- a/test/mitmproxy/protocol/test_websockets.py
+++ b/test/mitmproxy/protocol/test_websockets.py
@@ -65,7 +65,8 @@ class _WebSocketsTestBase(object):
opts = options.Options(
listen_port=0,
no_upstream_cert=False,
- ssl_insecure=True
+ ssl_insecure=True,
+ websockets=True,
)
opts.cadir = os.path.join(tempfile.gettempdir(), "mitmproxy")
return opts