aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-06-06 08:40:20 +1200
committerAldo Cortesi <aldo@corte.si>2016-06-06 08:40:20 +1200
commitc31b9c461dd4f905dcdb3f127c54d561a6166bb9 (patch)
tree2efbcfcbf0df6ef829cc191bfcfc5bfb9bb995b8 /test/pathod/tutils.py
parent435bfeca0b5c0f3a581e334bcfecc742d97d5e58 (diff)
parenta31c183a0fb19e68a3536f7fab55adbbaa1ce61c (diff)
downloadmitmproxy-c31b9c461dd4f905dcdb3f127c54d561a6166bb9.tar.gz
mitmproxy-c31b9c461dd4f905dcdb3f127c54d561a6166bb9.tar.bz2
mitmproxy-c31b9c461dd4f905dcdb3f127c54d561a6166bb9.zip
Merge pull request #1211 from cortesi/pathod
WIP: Radical webectomy of pathod
Diffstat (limited to 'test/pathod/tutils.py')
-rw-r--r--test/pathod/tutils.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/pathod/tutils.py b/test/pathod/tutils.py
index 1a883c93..56cd2002 100644
--- a/test/pathod/tutils.py
+++ b/test/pathod/tutils.py
@@ -24,14 +24,13 @@ def treader(bytes):
class DaemonTests(object):
- noweb = False
- noapi = False
nohang = False
ssl = False
timeout = None
hexdump = False
ssloptions = None
nocraft = False
+ explain = True
@classmethod
def setup_class(cls):
@@ -47,15 +46,13 @@ class DaemonTests(object):
ssl=cls.ssl,
ssloptions=so,
sizelimit=1 * 1024 * 1024,
- noweb=cls.noweb,
- noapi=cls.noapi,
nohang=cls.nohang,
timeout=cls.timeout,
hexdump=cls.hexdump,
nocraft=cls.nocraft,
logreq=True,
logresp=True,
- explain=True
+ explain=cls.explain
)
@classmethod
@@ -65,8 +62,7 @@ class DaemonTests(object):
def teardown(self):
self.d.wait_for_silence()
- if not (self.noweb or self.noapi):
- self.d.clear_log()
+ self.d.clear_log()
def _getpath(self, path, params=None):
scheme = "https" if self.ssl else "http"