summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_http.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2008-11-08 20:22:49 +0000
committerRobert Brewer <fumanchu@aminus.org>2008-11-08 20:22:49 +0000
commitfef7add0f1744d4d8189bb007c3106181870e368 (patch)
treeaba234ab3920fb72220e02dd5293fbd3ba69415d /cherrypy/test/test_http.py
parentb2477089b89ac5820f5d3fd59f4e67c53e196d73 (diff)
downloadcherrypy-git-fef7add0f1744d4d8189bb007c3106181870e368.tar.gz
Silenced some long-known test disparities when using Apache as the server in a separate process.
Diffstat (limited to 'cherrypy/test/test_http.py')
-rw-r--r--cherrypy/test/test_http.py4
1 files changed, 4 insertions, 0 deletions
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)