CherryPy / cherrypy / test / test_tools.py

Author Commit Message Labels Comments Date
Jason R. Coombs avatarJason R. Coombs
Fix login_screen so it works on Python 3 (and test passes)
Branches
cherrypy-3.2.x
Jason R. Coombs avatarJason R. Coombs
Added test to ensure that login_screen returns bytes - regression test for #1132.
Branches
cherrypy-3.2.x
Jason R. Coombs avatarJason R. Coombs
Resaved with excess whitespace removed
Branches
cherrypy-3.2.x
Robert Brewer avatarRobert Brewer
Bye bye, py2/3.
Robert Brewer avatarRobert Brewer
More Python 2.3 fixes.
Robert Brewer avatarRobert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer avatarRobert Brewer
Removed test.py etc.
Default avatar 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.
Robert Brewer avatarRobert Brewer
sync with python3, including separation of InternalRedirect handling and Exception trapping to WSGI middleware.
Robert Brewer avatarRobert Brewer
Removed py3print.
Default avatar Lakin Wecker
trunk - more changes to bring the two branches into a more similar state - this time normalizing StringIO imports.
Default avatar 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''
Robert Brewer avatarRobert Brewer
Fixed another gzip/encoding-related test.
Robert Brewer avatarRobert Brewer
Brought trunk up to par with the encoding changes from the python3 branch.
Robert Brewer avatarRobert Brewer
New error when accessing Tool.on
Robert Brewer avatarRobert 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 avatarRobert Brewer
Silenced some long-known test disparities when using Apache as the server in a separate process.
Robert Brewer avatarRobert Brewer
Fixed test suites to match [2069].
Default avatar Christian Wyglendowski
Committed Python 2.6/2.5.2 WSGI server compatibility patch from Lawouach and myself (see #837).
Robert Brewer avatarRobert Brewer
Test for #829 (@tools.response.headers doesn't appear to work with response.stream True).
Robert Brewer avatarRobert Brewer
Fix for #820 (start_response with exc_info raises exception even if no output was sent yet). This also fixes related issues in cpwsgi and error output in general.
Robert Brewer avatarRobert Brewer
New HandlerWrapperTool.
Robert Brewer avatarRobert Brewer
Trunk fix for #752 (Return cherrypy.server to a single-server model):
Robert Brewer avatarRobert Brewer
Another similar bugfix noticed by buildbot. This time I grepped for others (and found none) ;).
Robert Brewer avatarRobert Brewer
New pywebd module. Trunk is now "3.1alpha".
Robert Brewer avatarRobert Brewer
Test and fix for #661 (Cannot create tool out of an object callable). Also a better docstring for HandlerTool.
Robert Brewer avatarRobert Brewer
Cleaner test_tools.
Robert Brewer avatarRobert Brewer
Fix for #595 (Allow tool priorities to be overridden in config).
Robert Brewer avatarRobert Brewer
Blurg. Horrible late rewrite of WSGI stack due to missing close calls (one test fails still: IR with HTTP/1.0).
Robert Brewer avatarRobert Brewer
Test for tool kwargs from config using custom toolbox.
  1. Prev
  2. 1
  3. 2
  4. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.