Source

CherryPy / cherrypy / test / test_virtualhost.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. 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
Brought trunk up to par with the encoding changes from the python3 branch.
Robert Brewer
More trunk test fixes, inlucding backport of [2282] from python3 to trunk.
Robert Brewer
Fix for #906 (Firefox displays a popup on redirect). Reverted [2149] and changed the trailing slash tool to prefer 301.
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
Updated a test to meet new trailing_slash interaction with static (see #689).
Robert Brewer
Fix for #614 (VirtualHost and staticdir tool still don't play well together).
Robert Brewer
Test case for #607 (virtual_host and staticdir tools don't play well together).
Robert Brewer
Fix for #601. New SSL entries in WSGI environ (plus test suite fix under ssl).
Robert Brewer
Fix for #600 (InternalRedirect does double duty). This dispwrappers.patch changes vhost and xmlrpc from using InternalRedirect (which rewrites request.path_info) to dispatch wrapper functions (which do not).
Robert Brewer
New test showing that cherrypy.url fails with relative path when using virtual host.
Robert Brewer
Overhaul of config system: 1. New docstring for config module! 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces. 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults. 4. Removed 'log_config' config entry. Use engine.on_star…
Robert Brewer
Made all imports absolute "just in case" for Python 2.5.
Robert Brewer
Removed "filter" from lots of places, including renaming of tests.