Source

CherryPy / cherrypy / test / test_objectmapping.py

Author Commit Message Labels Comments Date
Gustavo Picon
Removed trailing whitespace from the codebase.
Branches
cherrypy-3.2.x
Robert Brewer
Bye bye, py2/3.
Robert Brewer
More Python 2.3 fixes.
Robert Brewer
Made dot-to-underscore translation extensible.
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
Merged the 'gateways' branch into trunk.
Robert Brewer
Test and fix for scheme in querystring.
Robert Brewer
New redirect to parent URI test.
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
Repaired testTreeMounting.
Robert Brewer
Whew. Fixed the whole test suite to properly handle the --host arg.
Robert Brewer
Silenced some long-known test disparities when using Apache as the server in a separate process.
Lakin Wecker
Allow apps to be mounted with the same script_name passed in as they are already instantiated with. Fumanchu asked for this earlier, or at least wondered about it. I realized it would allow apps to be compatible with both CP 3.1 and CP Trunk so I added it.
Lakin Wecker
Dissallow script_name in cherrypy.tree.mount when an instance of Application is passed in
Lakin Wecker
#733 - Return a 404 when query parameters passed to a handler are incorect. Similarly return a 404 when path atoms are incorrectly passed to a handler. Alternatively return a 400 when body params are incorrectly passed to a handler. Includes tests.
Robert Brewer
Fix for #740 (Default server.socket_host to IPv4 address).
Robert Brewer
Reverting the test for #733 until 3.2.
Robert Brewer
Test and fix for #737 (not possible to have custom request handler on application mount point).
Robert Brewer
couple new tests and a docstring.
Robert Brewer
More cherrypy.dispatch cleanup.
Robert Brewer
Test case for #613 (HTTPRedirect from default handler goes up one directory).
Robert Brewer
Fix for #573 (wsgi server bug in mount-point resolution with multiple mounted applications).
Robert Brewer
Fix for #562 (Redirect for slash doesn't use tools.proxy.base). Moved slash checking into new tools.trailing_slash(missing=True, extra=False), which is on by default. The core now sets request.is_index to allow such tools to work. In addition, if that tool is off, mismatched slashes will be corrected in cherrypy.url.
Robert Brewer
New CPWebCase base() function.
Robert Brewer
Collapsed request.url and tree.url into a single cherrypy.url function.
Robert Brewer
SSL support for _cpwsgiserver. One test fails immaterially. Run "test.py --ssl" to test.
Robert Brewer
Got rid of cherrypy.request.path. Use request.script_name + request.path_info instead (usually, just path_info is what you really want).
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next