Issue #142 resolved

Tutorial 03_get_and_post failed test

Anonymous created an issue

{{{

!python

C:\Python23\Lib\site-packages\cherrypy\test>python test.py Checking that port 8000 is free... OK

Examining your system...

Python version used to run this test script: 2.3.2

Checking which python versions are installed... Found python version 2.3.2 with CherryPy version 2.0.0 Version 2.4 not found with cherrypy module, two directories up

Finding out what modules are installed for these versions... Checking modules for python2.3.2... os.fork not available thread available pyOpenSSL not available xmlrpclib available

Checking CherryPy version... Found version 2.0.0

Testing CherryPy...

Running tests for python 2.3.2... Testing tutorial 01_helloworld.py... r... tp... passed Testing tutorial 02_expose_methods.py... r... tp... passed Testing tutorial 03_get_and_post.py... FAILED Testing tutorial 04_complex_site.py... r... tp... passed Testing tutorial 05_derived_objects.py... r... tp... passed Testing tutorial 06_aspects.py... r... tp... passed Testing tutorial 07_default_method.py... r... tp... passed Testing tutorial 08_sessions.py... r... tp... passed Testing tutorial 09_generators_and_yield.py... r... tp... passed Testing static content... r... tp... passed Testing object mapping... r... tp... passed Testing Filters (1) ... r... tp... passed Testing VirtualHostFilter (1) ... r... tp... passed Testing VirtualHostFilter (2) ... r... tp... passed

TEST RESULT

THE FOLLOWING TESTS FAILED: Tutorial 03_get_and_post.py for python2.3.2 in r mode failed. Rule: cpg.response.body == "Hey Bob, what's up?" cpg.response.headerMap: {'Status': 200, 'Content-Length': '23', 'Set-Cookie': 'CherryPySession=bfde648f979097554d28c0816c663d479c92b42b; Path=/; Version=1;', 'Server': 'CherryPy/2.0.0', 'Date': 'Mon, 16 May 2005 17:16:00 GMT', 'Content-Type': 'text/html'} * cpg.response.body: "Hey ['Bob'], what's up?"* THE ABOVE TESTS FAILED }}}

Reported by fumanchu@amor.org

Comments (2)

  1. Log in to comment