aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pathoc.py')
-rw-r--r--test/test_pathoc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py
index 2542b622..23b42994 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -59,8 +59,11 @@ class _TestDaemon:
c.settimeout(timeout)
s = cStringIO.StringIO()
for i in requests:
+ r = language.parse_requests(i)[0]
+ if explain:
+ r = r.freeze({})
c.print_request(
- language.parse_requests(i)[0],
+ r,
showreq = showreq,
showresp = showresp,
explain = explain,