aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-06-05 11:47:52 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-06-05 11:47:52 +1200
commitc0c45c051a6eadf34d38f1b0d3d96c6a9196f733 (patch)
tree23b037d7c9280701b1ddecee18dad8dfb5afaa91 /test/pathod/tutils.py
parent2355c29c0ef59019950da3a0410cd91bfeedb872 (diff)
downloadmitmproxy-c0c45c051a6eadf34d38f1b0d3d96c6a9196f733.tar.gz
mitmproxy-c0c45c051a6eadf34d38f1b0d3d96c6a9196f733.tar.bz2
mitmproxy-c0c45c051a6eadf34d38f1b0d3d96c6a9196f733.zip
Fix test that may fail due to binary header data
This is just inherently not a determinisitc test. We don't use the log HTTP interface any more, so it can just go. A more radical "solution" is inbound shortly. Fixes #1207
Diffstat (limited to 'test/pathod/tutils.py')
-rw-r--r--test/pathod/tutils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/pathod/tutils.py b/test/pathod/tutils.py
index b9f38d86..1a883c93 100644
--- a/test/pathod/tutils.py
+++ b/test/pathod/tutils.py
@@ -102,7 +102,9 @@ class DaemonTests(object):
fp=logfp,
)
with c.connect():
- resp = c.request("get:/p/%s" % urllib.quote(spec).encode("string_escape"))
+ resp = c.request(
+ "get:/p/%s" % urllib.quote(spec).encode("string_escape")
+ )
return resp
def pathoc(