aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-10-31 11:23:53 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-10-31 11:34:58 +1300
commit3f50930dc06a980ac5dcf012fa23ecc0a70ce1b4 (patch)
tree9c3bf8fe82326072d2c470f47d12ed654b991fb6 /test/tutils.py
parent8c6cc8140c6ac51966bdfabd5bb1180c2dd623b0 (diff)
downloadmitmproxy-3f50930dc06a980ac5dcf012fa23ecc0a70ce1b4.tar.gz
mitmproxy-3f50930dc06a980ac5dcf012fa23ecc0a70ce1b4.tar.bz2
mitmproxy-3f50930dc06a980ac5dcf012fa23ecc0a70ce1b4.zip
Use .freeze to implement the -e explain flags for pathod and pathoc.
This now prints (in pathoc) or logs (in pathod) a frozen specification that includes an expanded record of all generated values and locations.
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tutils.py b/test/tutils.py
index a63ed7eb..3de18417 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -23,7 +23,8 @@ class DaemonTests:
timeout = self.timeout,
hexdump = self.hexdump,
logreq = True,
- logresp = True
+ logresp = True,
+ explain = True
)
@classmethod