From 7da17c6bd87162ea762ea55a3db278b7cb378b70 Mon Sep 17 00:00:00 2001 From: Miguel Guarniz Date: Thu, 30 Jun 2022 19:23:58 -0400 Subject: [PATCH] fix tests Signed-off-by: Miguel Guarniz --- test/mitmproxy/net/test_tls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mitmproxy/net/test_tls.py b/test/mitmproxy/net/test_tls.py index 67ade461e..498d2fb9c 100644 --- a/test/mitmproxy/net/test_tls.py +++ b/test/mitmproxy/net/test_tls.py @@ -23,6 +23,7 @@ def test_sslkeylogfile(tdata, monkeypatch): entry = store.get_cert("example.com", [], None) cctx = tls.create_proxy_server_context( + method=tls.Method.TLS_CLIENT_METHOD, min_version=tls.DEFAULT_MIN_VERSION, max_version=tls.DEFAULT_MAX_VERSION, cipher_list=None, @@ -32,6 +33,7 @@ def test_sslkeylogfile(tdata, monkeypatch): client_cert=None, ) sctx = tls.create_client_proxy_context( + method=tls.Method.TLS_SERVER_METHOD, min_version=tls.DEFAULT_MIN_VERSION, max_version=tls.DEFAULT_MAX_VERSION, cipher_list=None,