Source

CherryPy / cherrypy / test / test_wsgi_ns.py

Author Commit Message Labels Comments Date
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.
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):
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:
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.