aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-06-25 10:33:35 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-06-25 10:33:35 +1200
commit94a7770a9404cf0da3a0bab5064976ba26e9762f (patch)
treea56c0eecb699962f55a96186b95a181775aaafce /test
parent0e15b9436890a60c8657b1d5df41f3bf1c4f9eb8 (diff)
downloadmitmproxy-94a7770a9404cf0da3a0bab5064976ba26e9762f.tar.gz
mitmproxy-94a7770a9404cf0da3a0bab5064976ba26e9762f.tar.bz2
mitmproxy-94a7770a9404cf0da3a0bab5064976ba26e9762f.zip
Output warning info to log fp using logging methods
Diffstat (limited to 'test')
-rw-r--r--test/test_pathoc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py
index cf12332c..6b037bcc 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -123,10 +123,12 @@ class TestDaemonSSL(_TestDaemon):
assert d["log"][0]["request"]["clientcert"]["keyinfo"]
def test_http2_without_ssl(self):
+ fp = cStringIO.StringIO()
c = pathoc.Pathoc(
("127.0.0.1", self.d.port),
use_http2=True,
ssl=False,
+ fp = fp
)
tutils.raises(NotImplementedError, c.connect)