Source

CherryPy / cherrypy / test / test_tools.py

Author Commit Message Labels Comments Date
Jason R. Coombs
Fix login_screen so it works on Python 3 (and test passes)
Branches
cherrypy-3.2.x
Jason R. Coombs
Added test to ensure that login_screen returns bytes - regression test for #1132.
Branches
cherrypy-3.2.x
Jason R. Coombs
Resaved with excess whitespace removed
Branches
cherrypy-3.2.x
Robert Brewer
Bye bye, py2/3.
Robert Brewer
More Python 2.3 fixes.
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
Removed test.py etc.
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
sync with python3, including separation of InternalRedirect handling and Exception trapping to WSGI middleware.
Robert Brewer
Removed py3print.
Lakin Wecker
trunk - more changes to bring the two branches into a more similar state - this time normalizing StringIO imports.
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
Fixed another gzip/encoding-related test.
Robert Brewer
Brought trunk up to par with the encoding changes from the python3 branch.
Robert Brewer
New error when accessing Tool.on
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
Silenced some long-known test disparities when using Apache as the server in a separate process.
Robert Brewer
Fixed test suites to match [2069].
Christian Wyglendowski
Committed Python 2.6/2.5.2 WSGI server compatibility patch from Lawouach and myself (see #837).
Robert Brewer
Test for #829 (@tools.response.headers doesn't appear to work with response.stream True).
Robert 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
New HandlerWrapperTool.
Robert Brewer
Trunk fix for #752 (Return cherrypy.server to a single-server model): 1. Change restsrv.servers.ServerManager (multiple httpservers) to ServerAdapter (one httpserver). 2. cherrypy.server is now a subclass of ServerAdapter, and is subscribed by default. 3. Made several plugin methods idempotent that weren't before. 4. Added names to win32 bus state events. Also fixed a buglet in win32 block(). 5. Added repr to wspbus.states.State objects. 6. Did ''not'' change …
Robert Brewer
Another similar bugfix noticed by buildbot. This time I grepped for others (and found none) ;).
Robert Brewer
New pywebd module. Trunk is now "3.1alpha".
Robert Brewer
Test and fix for #661 (Cannot create tool out of an object callable). Also a better docstring for HandlerTool.
Robert Brewer
Cleaner test_tools.
Robert Brewer
Fix for #595 (Allow tool priorities to be overridden in config).
Robert Brewer
Blurg. Horrible late rewrite of WSGI stack due to missing close calls (one test fails still: IR with HTTP/1.0).
Robert Brewer
Test for tool kwargs from config using custom toolbox.
  1. Prev
  2. 1
  3. 2
  4. Next