aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathoc.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2014-10-25 16:20:23 +1300
committerAldo Cortesi <aldo@nullcube.com>2014-10-25 16:20:23 +1300
commit6d8431ab3e96568b3579a85e680371fd20c961aa (patch)
tree35ad1bee42e306692496b7b92808cb9d80c12c4e /test/test_pathoc.py
parentd4e6c25d45f680df4f807805ce878b498a5fb0c5 (diff)
downloadmitmproxy-6d8431ab3e96568b3579a85e680371fd20c961aa.tar.gz
mitmproxy-6d8431ab3e96568b3579a85e680371fd20c961aa.tar.bz2
mitmproxy-6d8431ab3e96568b3579a85e680371fd20c961aa.zip
Allow specification of multiple patterns from file and on command line
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r--test/test_pathoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py
index 88479b6c..2542b622 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -60,7 +60,7 @@ class _TestDaemon:
s = cStringIO.StringIO()
for i in requests:
c.print_request(
- language.parse_request(i),
+ language.parse_requests(i)[0],
showreq = showreq,
showresp = showresp,
explain = explain,