aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/proxy/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'test/mitmproxy/proxy/protocol')
-rw-r--r--test/mitmproxy/proxy/protocol/test_http2.py2
-rw-r--r--test/mitmproxy/proxy/protocol/test_websocket.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/mitmproxy/proxy/protocol/test_http2.py b/test/mitmproxy/proxy/protocol/test_http2.py
index 13f28728..b5f21413 100644
--- a/test/mitmproxy/proxy/protocol/test_http2.py
+++ b/test/mitmproxy/proxy/protocol/test_http2.py
@@ -103,7 +103,7 @@ class _Http2TestBase:
upstream_cert=True,
ssl_insecure=True
)
- opts.cadir = os.path.join(tempfile.gettempdir(), "mitmproxy")
+ opts.confdir = os.path.join(tempfile.gettempdir(), "mitmproxy")
return opts
@property
diff --git a/test/mitmproxy/proxy/protocol/test_websocket.py b/test/mitmproxy/proxy/protocol/test_websocket.py
index 3ce1436a..1f4e2bca 100644
--- a/test/mitmproxy/proxy/protocol/test_websocket.py
+++ b/test/mitmproxy/proxy/protocol/test_websocket.py
@@ -67,7 +67,7 @@ class _WebSocketTestBase:
ssl_insecure=True,
websocket=True,
)
- opts.cadir = os.path.join(tempfile.gettempdir(), "mitmproxy")
+ opts.confdir = os.path.join(tempfile.gettempdir(), "mitmproxy")
return opts
@property