diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-06-05 13:24:46 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-06-05 13:24:46 +1200 |
commit | 375d7c9741c1debbc55bf21c864c514d307691ef (patch) | |
tree | b07e75ad73b490bab6d557394245b607574e131a /test/pathod/tutils.py | |
parent | 48da24ae7e7be7af94162d35a463f174e22504f6 (diff) | |
download | mitmproxy-375d7c9741c1debbc55bf21c864c514d307691ef.tar.gz mitmproxy-375d7c9741c1debbc55bf21c864c514d307691ef.tar.bz2 mitmproxy-375d7c9741c1debbc55bf21c864c514d307691ef.zip |
Remove last vestiges of noapi and noweb from pathod
Also hide HTTP2 freeze bug by making explain configurable in the tests
Diffstat (limited to 'test/pathod/tutils.py')
-rw-r--r-- | test/pathod/tutils.py | 10 |
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" |