[CherryPy] #964: error on testErrorHandling, testHookErrors, testGzip

0 views
Skip to first unread message

CherryPy

unread,
Oct 25, 2009, 11:39:51 AM10/25/09
to cherrypy...@googlegroups.com
#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

CherryPy

unread,
Jun 24, 2010, 9:37:49 AM6/24/10
to cherrypy...@googlegroups.com
#964: error on testErrorHandling, testHookErrors, testGzip
---------------------------+------------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment (by jack.m...@credativ.com):

I can confirm this problem on RHEL 5.4. Please see attached cherry_spec.tx
for the RPM Spec file and install_log.txt for the failed tests.
Reply all
Reply to author
Forward
0 new messages