diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_protocol_http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_protocol_http.py b/test/test_protocol_http.py index 2da54093..c6a9159c 100644 --- a/test/test_protocol_http.py +++ b/test/test_protocol_http.py @@ -56,7 +56,7 @@ class TestInvalidRequests(tservers.HTTPProxTest): p = self.pathoc() r = p.request("connect:'%s:%s'" % ("127.0.0.1", self.server2.port)) assert r.status_code == 400 - assert "Must not CONNECT on already encrypted connection" in r.body + assert "Invalid HTTP request form" in r.body def test_relative_request(self): p = self.pathoc_raw() |