Source

CherryPy / cherrypy / test / helper.py

Author Commit Message Labels Comments Date
Robert Brewer
Took out wsgiserver in favor of the cheroot fork.
Branches
wspb
Robert Brewer
A couple of Python 2.3 fixes
Tags
cherrypy-3.2.2
Robert Brewer
Fixed #1087 (PEP-3333 compliance: Unicode response headers). Also some touch-ups to prevent refleaks.
Joseph Tate
Use an arbitrary high port (54583) instead of a common lower port (8080) for running tests
Robert Brewer
Bye bye, py2/3.
Robert Brewer
trunk: sync with python3
Robert Brewer
Compat fixes for Python 2.3
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
trunk sync with python3
Robert Brewer
New test/modfastcgi.py (I couldn't get mod_fcgid working well with our test suite on nix).
Robert Brewer
testAdditionalServers was causing test_states to hang because the former did not stop() all its servers.
Robert Brewer
Test fixes.
Robert Brewer
Some backports (mostly whitespace, really) from the python3 branch.
Sylvain Hellegouarch
#949 we disable TCP NODELAY when running test suite on Jython
Robert Brewer
Fixed some broken tests, including a nasty wsgiserver bug.
Robert Brewer
Removed test.py etc.
Robert Brewer
Fixed test_states import of cherrypy.
Joseph Tate
Convert the tests to use nose instead of our own runner. This strips out much coverage and profiling (handled by nose) and lets you focus on writing tests. The biggest changes that have to be done in the tests classes is you have to put the "setup_server" method on the class(es) that need them when running. If you need it for multiple classes, you can use staticmethod() to attach it to multiple classes without using inheritance.
Robert Brewer
Merged the 'gateways' branch into trunk.
Robert Brewer
New assertEqualDates test method.
Robert Brewer
test_session bugfix, plus a couple tweaks.
Robert Brewer
Removed py3print.
Lakin Wecker
trunk - a non-used import
Lakin Wecker
trunk - adding a py3util module that will normalize as many differences between this branch and the python3 branch as it can. First it includes a py3print call who's signature matches that of print in python3. Also removed a few byte strings of the form b''
Lakin Wecker
trunk - porting the fixes to test_states from r2290.
Lakin Wecker
trunk - Porting the cherrypy.lib.httputil name change. It'll be easier to maintain two released branches if the modules are named the same. However, in the 2.6 branch we'll leave cherrypy.lib.http working and deprecate it for 3.3.
Lakin Wecker
cherrypy.test - fixing a buglet in r2145 where the unused parts were in the wrong order. Also updating test/test.py's server to use the same import pattern.
Lakin Wecker
cherrypy.test - updating webtest/helper to allow test names to contain full package names, like: cherrypy.test.test_tidy etc.
Robert Brewer
Moved "environment: test_suite" out of individual tests and into helper.py. Moved setup_server() call out of individual tests and into helper.py. Added a new test for per-handler max_request_body_size shenanigans.
Robert Brewer
New CRLF test, plus some test suite fixes.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. Next