aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-10-01 12:48:26 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-10-01 12:48:26 +1300
commit41f1c66772c6546fc39b9dcf64d8c04992a2e1ab (patch)
treed23e4c8eac5da25693f936e5e77d9fdb2b015e71 /test/tutils.py
parent915bcfbd305d7b18de07f4f40dab1e49a06b132c (diff)
downloadmitmproxy-41f1c66772c6546fc39b9dcf64d8c04992a2e1ab.tar.gz
mitmproxy-41f1c66772c6546fc39b9dcf64d8c04992a2e1ab.tar.bz2
mitmproxy-41f1c66772c6546fc39b9dcf64d8c04992a2e1ab.zip
Add -q and -r flags to pathod, logging request and respnose bytes.
- These flags also mean that a bytes log is included in the internal log buffer. - There's an -x flag to turn on hex dump output in the text logs (does not affect the log buffer).
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tutils.py b/test/tutils.py
index 8e7bca20..71a6034f 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -20,6 +20,8 @@ class DaemonTests:
noapi = self.noapi,
nohang = self.nohang,
timeout = self.timeout,
+ logreq = True,
+ logresp = True
)
@classmethod