Source

CherryPy / cherrypy / test / webtest.py

Author Commit Message Labels Comments Date
Sylvain Hellegouarch
fixed test error message which wasn't what was expected
Branches
cherrypy-3.1.x
Robert Brewer
Merge from trunk for today's fixes [2072] to [2080].
Tags
cherrypy-3.1.1
Branches
cherrypy-3.1.x
Robert Brewer
I suppose defaults don't mean much for property setters. ;)
Robert Brewer
Use %r instead of %s and `obj`.
Robert Brewer
New WebCase.time attribute (seconds to complete the last getPage call).
Robert Brewer
Upgraded all INADDR_ANY and localhost checks to include IPv6 equivalents.
Robert Brewer
Fix for #643 (socket_host is confusing). Empty string and None are now illegal values for socket_host; use '0.0.0.0' instead for INADDR_ANY.
Robert Brewer
Simpler webtest trial loop.
Robert Brewer
Changes to socket_host:
Robert Brewer
Moved persistent conn support into webtest.
Robert Brewer
Fix for Python 2.3 accept-encoding issues (extra 'identity' value inserted, which broke gzip tests).
Robert Brewer
Collapsed request.url and tree.url into a single cherrypy.url function.
Robert Brewer
API and docstring cleanups:
Robert Brewer
Fixes for Python 2.5rc1:
Robert Brewer
Better support for Expect/100 Continue.
Robert Brewer
Fix for #551 (_cpwsgiserver should handle persistent connections). All of CP should now default to HTTP/1.1. Some tests still need to be written, and 1.0 support reviewed throughout, but the basics work.
Robert Brewer
webtest.WebCase.assetHeader now returns the header value if found.
Robert Brewer
Fix for #528 (Allow request body parsing for methods other than "POST" and "PUT").
Robert Brewer
Support for folded response headers in webtest.
Robert Brewer
Initial fix for #498 (Test suite assumes same process for client and server). All test modules now wrap the server-side code in a "setup_server" function. New test\modpy module (with several tests failing).
Robert Brewer
Prettier error message in webtest.py.
Remi Delon
Big change: camelCase to lower_with_underscore names (still need to update the book)
Robert Brewer
Implemented Titus Brown's patch for using twill with webtest.
Robert Brewer
Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).
Robert Brewer
Fix for #373 (arbitrary mount points, or "virtual roots"). All internal use of request.path has been changed to inspect request.objectPath instead (the "rewritten path"). The request.path should never be rewritten; instead, it should only be used to generate new URL's based on the original path. The request.originalPath attribute can now probably be deprecated.
Robert Brewer
webtest sys.e[X]it option now works. There's also a new WebCase.exit() method which you can override, in case you need to do other things before exiting.
Robert Brewer
More server state tests and fixes:
Robert Brewer
webtest assertHeader now coerces the value arg to a string before comparing.
Robert Brewer
All raised exceptions now conform to "raise Exception([arg])" syntax (no more "raise Exception" or "raise Exception, arg". See http://mail.python.org/pipermail/python-dev/2005-August/055687.html for Guido's pronouncement, which is now part of PEP 8.
Robert Brewer
New cookies attribute in webtest, to make successive getPage() requests easier.
  1. Prev
  2. 1
  3. 2
  4. Next