Source

CherryPy / cherrypy / test / test_config.py

Author Commit Message Labels Comments Date
Chris Beelby
Updated test case to reflect new default parameter spelling
Gustavo Picon
Removed trailing whitespace from the codebase. sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'`
shadowman131
Added multiply operation to unrepr
Robert Brewer
Bye bye, py2/3.
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
trunk: syncing with python3, except preferring WSGI 1.0 and sticking with bytes for request attrs.
Robert Brewer
Moved request.body construction before config namespaces so 'request.body' config entries work.
Robert Brewer
Removed py3print.
Lakin Wecker
trunk - more changes to bring the two branches into a more similar state - this time normalizing StringIO imports.
Robert Brewer
Brought trunk up to par with the encoding changes from the python3 branch.
Lakin Wecker
trunk - removing backticks in favor of repr
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.
klarson
Added test for updated setting of response headers http://cherrypy.org/ticket/889
jaraco
Updated the test so it more closely matches the use case we're trying to support
klarson
Added variable substitution test for config
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
Allow string concatenation in config files. Very useful for using ConfigParser's interpolated values to build repetitive strings.
Robert Brewer
Added builtins and subscript to unrepr.
Robert Brewer
Test and fix for correct order of application of Handler tool args.
Robert Brewer
A couple more modpy test fixes.
Robert Brewer
New global custom namespace test.
Robert Brewer
New pywebd module. Trunk is now "3.1alpha".
Robert Brewer
Fix to unrepr for function calls.
Robert Brewer
Test support for wsgiref.validate (new '--validate' arg to test.py), plus a couple minor fixes based on the first validation run.
Robert Brewer
Moved request.namespaces back to the class level (each instance gets a copy). Renamed "tool_up" to "configure". Also, request.handler should not set response.body anymore: it should return it to the caller instead (this allows custom namespaces to wrap the handler and munge output). Full demo in test_config.
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
Fix for #506 (unrepr should support negative numbers).
  1. Prev
  2. 1
  3. 2
  4. Next