1. Bingnan Duan
  2. CherryPy

Source

CherryPy / cherrypy / test / test_wsgi_ns.py

Author Commit Message Date Builds
Robert Brewer
Bye bye, py2/3.
Robert Brewer
More Python 2.3 fixes.
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
Removed py3print.
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
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
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
Final trunk fix for #718 (High count of uncollectable objects). Proved once again that WSGI 1.0 middleware pretty much has to be implemented as two cooperating classes.
Robert Brewer
Transformed _cptree.wsgi_handler function into _cpwsgi.CPWSGIApp class (a delegate for the Application object), and merged in the wsgi.pipeline functionality. This removes the need to call wsgi.pipeline(app) before tree.mount.
Robert Brewer
mod_python improvements: 1. Fix to test_config. 2. Skipped some additional tests for known bugs. 3. Documented that mod_python doesn't allow chunked encoding in request.
Robert Brewer
Fixed line endings in test_wsgi_ns.py.
Robert Brewer
Changed every instance of 'conf' in the API to 'config'.
Robert Brewer
Fix for #559 (allow config of WSGI middleware) via cherrypy.wsgi.pipeline. Includes tests.