From fef7add0f1744d4d8189bb007c3106181870e368 Mon Sep 17 00:00:00 2001 From: Robert Brewer Date: Sat, 8 Nov 2008 20:22:49 +0000 Subject: Silenced some long-known test disparities when using Apache as the server in a separate process. --- cherrypy/test/test_http.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cherrypy/test/test_http.py') diff --git a/cherrypy/test/test_http.py b/cherrypy/test/test_http.py index 8d8288fc..92162bcc 100644 --- a/cherrypy/test/test_http.py +++ b/cherrypy/test/test_http.py @@ -104,6 +104,10 @@ class HTTPTests(helper.CPWebCase): response_body) def test_malformed_request_line(self): + if getattr(cherrypy.server, "using_apache", False): + print "skipped due to known Apache differences...", + return + # Test missing version in Request-Line if self.scheme == 'https': c = httplib.HTTPSConnection('127.0.0.1:%s' % self.PORT) -- cgit v1.2.1