Ticket #587 (defect)
Opened 2 years ago
Last modified 2 years ago
Test failure in wsgiapp on Python 2.5
Status: closed (fixed)
| Reported by: | fumanchu | Assigned to: | dowski |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | CherryPy code | Keywords: | |
| Cc: |
======================================================================
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.
Change History
10/25/06 23:24:47: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.
12/11/06 15:30:56: Modified by fumanchu
2.x fix in [1522].


Fixed in [1411].