aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-16 13:52:41 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-16 14:53:41 +0200
commit408b4ffef0a784bea7ec08c252e757bca6e28134 (patch)
treef7694eb9f7f875d72355b9f7c342910174574fc0 /test/tutils.py
parentec68aa303e89398ba34bbe01f3fbd1ac1fc441f3 (diff)
downloadmitmproxy-408b4ffef0a784bea7ec08c252e757bca6e28134.tar.gz
mitmproxy-408b4ffef0a784bea7ec08c252e757bca6e28134.tar.bz2
mitmproxy-408b4ffef0a784bea7ec08c252e757bca6e28134.zip
http2: implement Headers for request & response
improve test coverage fix super ctor call fix legacy httpversion simpliy SSLInfo without ALPN
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/tutils.py b/test/tutils.py
index 60c0765a..2184ade5 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -73,7 +73,8 @@ class DaemonTests(object):
timeout=None,
connect_to=None,
ssl=None,
- ws_read_limit=None
+ ws_read_limit=None,
+ use_http2=False,
):
"""
Returns a (messages, text log) tuple.
@@ -86,7 +87,8 @@ class DaemonTests(object):
ssl=ssl,
ws_read_limit=ws_read_limit,
timeout = timeout,
- fp = logfp
+ fp = logfp,
+ use_http2 = use_http2,
)
c.connect(connect_to)
ret = []