diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-06-06 08:40:20 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2016-06-06 08:40:20 +1200 |
commit | c31b9c461dd4f905dcdb3f127c54d561a6166bb9 (patch) | |
tree | 2efbcfcbf0df6ef829cc191bfcfc5bfb9bb995b8 /test/pathod/test_pathod.py | |
parent | 435bfeca0b5c0f3a581e334bcfecc742d97d5e58 (diff) | |
parent | a31c183a0fb19e68a3536f7fab55adbbaa1ce61c (diff) | |
download | mitmproxy-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/test_pathod.py')
-rw-r--r-- | test/pathod/test_pathod.py | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/test/pathod/test_pathod.py b/test/pathod/test_pathod.py index ec9c169f..0bbad6c2 100644 --- a/test/pathod/test_pathod.py +++ b/test/pathod/test_pathod.py @@ -23,18 +23,10 @@ class TestPathod(object): assert len(p.get_log()) <= p.LOGBUF -class TestNoWeb(tutils.DaemonTests): - noweb = True - - def test_noweb(self): - assert self.get("200:da").status_code == 200 - assert self.getpath("/").status_code == 800 - - class TestTimeout(tutils.DaemonTests): timeout = 0.01 - def test_noweb(self): + def test_timeout(self): # FIXME: Add float values to spec language, reduce test timeout to # increase test performance # This is a bodge - we have some platform difference that causes @@ -43,16 +35,6 @@ class TestTimeout(tutils.DaemonTests): assert self.d.last_log()["type"] == "timeout" -class TestNoApi(tutils.DaemonTests): - noapi = True - - def test_noapi(self): - assert self.getpath("/log").status_code == 404 - r = self.getpath("/") - assert r.status_code == 200 - assert "Log" not in r.content - - class TestNotAfterConnect(tutils.DaemonTests): ssl = False ssloptions = dict( @@ -271,8 +253,6 @@ class TestDaemonSSL(CommonTests): class TestHTTP2(tutils.DaemonTests): ssl = True - noweb = True - noapi = True nohang = True if tcp.HAS_ALPN: |