diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_cmdline.py | 4 | ||||
| -rw-r--r-- | test/test_server.py | 4 | 
2 files changed, 0 insertions, 8 deletions
diff --git a/test/test_cmdline.py b/test/test_cmdline.py index ee2f7044..1443ee1c 100644 --- a/test/test_cmdline.py +++ b/test/test_cmdline.py @@ -43,10 +43,6 @@ def test_parse_server_spec():          "http://foo.com") == ("http", ("foo.com", 80))      assert cmdline.parse_server_spec(          "https://foo.com") == ("https", ("foo.com", 443)) -    assert cmdline.parse_server_spec_special( -        "https2http://foo.com") == ("https2http", ("foo.com", 80)) -    assert cmdline.parse_server_spec_special( -        "http2https://foo.com") == ("http2https", ("foo.com", 443))      tutils.raises(          "Invalid server specification",          cmdline.parse_server_spec, diff --git a/test/test_server.py b/test/test_server.py index 7b66c582..b691804b 100644 --- a/test/test_server.py +++ b/test/test_server.py @@ -490,10 +490,6 @@ class TestHttps2Http(tservers.ReverseProxTest):          assert p.request("get:'/p/200'").status_code == 200          assert all("Error in handle_sni" not in msg for msg in self.proxy.log) -    def test_http(self): -        p = self.pathoc(ssl=False) -        assert p.request("get:'/p/200'").status_code == 502 -  class TestTransparent(tservers.TransparentProxTest, CommonMixin, TcpMixin):      ssl = False  | 
