Issue #587 resolved

Test failure in wsgiapp on Python 2.5

Robert Brewer
created an issue

From http://www.python.org/dev/buildbot/community/2.5/amd64%20Ubuntu%20Dapper%202.5/builds/43/step-CherryPy/0 {{{ ====================================================================== FAIL: test_02_wrapped_wsgi (test_wsgiapps.WSGIAppTest)


Traceback (most recent call last): File "/home/buildslave/pybot/2.5.murphy-amd64/build/cherrypy/cherrypy/test/webtest.py", line 225, in call testMethod() File "/home/buildslave/pybot/2.5.murphy-amd64/build/cherrypy/cherrypy/test/test_wsgiapps.py", line 72, in test_02_wrapped_wsgi self.assertHeader("Content-Type", "text/plain") File "/home/buildslave/pybot/2.5.murphy-amd64/build/cherrypy/cherrypy/test/webtest.py", line 325, in assertHeader self._handlewebError(msg) File "/home/buildslave/pybot/2.5.murphy-amd64/build/cherrypy/cherrypy/test/webtest.py", line 170, in _handlewebError raise self.failureException(msg) AssertionError: 'Content-Type':'text/plain' not in headers }}}

This does not fail under Python 2.4 on my machine, but it does under 2.5.

Comments (3)

  1. Log in to comment