#964: error on testErrorHandling, testHookErrors, testGzip
---------------------------+----------------------------------------------- -
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Keywords:
---------------------------+----------------------------------------------- -
i try cherrypy test suite before make package for my distro, but got 3
error:
FAIL: testErrorHandling (test_core.CoreRequestHandlingTest)
FAIL: testHookErrors (test_tools.ToolTests)
FAIL: testGzip (test_encoding.EncodingTests)
see http://pastebin.centos.org/29684 for full error log
after i change this line (on test_core.py) :
self.assertRaises((ValueError, IncompleteRead), self.getPage,
"/error/page_streamed")
to
self.getPage("/error/page_streamed")
print ('body=', self.body)
the output is like this
testErrorHandling (test_core.CoreRequestHandlingTest) ... ('body=', 'word
up')
i'm using centos 5.3 (python2.4.3)
--
Ticket URL: <http://www.cherrypy.org/ticket/964>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework