Source

CherryPy / cherrypy / test / test_core.py

Author Commit Message Labels Comments Date
Michiel Overtoom
Fix ticket URLs from http://www.cherrypy.org/ticket/XYZ to
Gustavo Picon
Removed trailing whitespace from the codebase.
Robert Brewer
A couple of Python 2.3 fixes
Tags
cherrypy-3.2.2
Robert Brewer
Fixed #1087 (PEP-3333 compliance: Unicode response headers). Also some touch-ups to prevent refleaks.
Robert Brewer
Test and fix for #1055 (cherrypy.response.status is None during on_end_resource phase)
Robert Brewer
Bye bye, py2/3.
Robert Brewer
More Python 2.3 fixes.
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
trunk sync with python3
Robert Brewer
Fix for #1003 (Security issue: HTTPRedirect exception can be used to inject headers). Fixed the hole in all headers, not just redirect Location.
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
A couple of unnecessary imports.
Robert Brewer
Removed py3print.
Robert Brewer
Fixed a nasty encoding bug in InternalRedirect (exposed by Python 2.3, whose unicode type has no 'decode' method).
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
Cookie test tweak.
Robert Brewer
Brought trunk up to par with the encoding changes from the python3 branch.
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.
jaraco
Refactored testCookies to unify the tests despite Python differences in cookie handling
jaraco
Added handling of invalid cookie names by responding with 400 Bad Request.
Robert Brewer
Fix for #906 (Firefox displays a popup on redirect). Reverted [2149] and changed the trailing slash tool to prefer 301.
Robert Brewer
Broke a bunch of test_core tests out into a new test_request_obj.py.
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
Fix for #898 (HTTPError should accept status code in same format as get_error_page).
Robert Brewer
New test module for config in the "server.*" namespace.
Robert Brewer
test_core tweak for --ssl.
Robert Brewer
New test for Host header being used in cherrypy.url().
Lakin Wecker
#883 - (last comments) - provide a way to turn off the mismatched parameter messages with tests.
Lakin Wecker
Fixes #883 - Add in a better getargspec that works on callable objects. Add in tests that assert two things: 1. That our 400/404 detection mechanism works on callable objects and that when a handler raises a TypeError it gets re-raised into a 500 error.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. Next