CherryPy / cherrypy / test / webtest.py

Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
A couple of Python2.3 fixes.
Robert Brewer avatarRobert Brewer
Bye bye, py2/3.
Robert Brewer avatarRobert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Sylvain Hellegouarch avatarSylvain Hellegouarch
#948 System.in cannot be used in a module that will be loaded by Jython and CPython as it's an invalid syntax under CPython
Sylvain Hellegouarch avatarSylvain Hellegouarch
#948 implementing getchar on the Jython platform
Robert Brewer avatarRobert Brewer
A couple test tweaks.
Default avatar 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 avatarRobert Brewer
A couple syncs with python3.
Robert Brewer avatarRobert Brewer
Removed py3print.
Default avatar Lakin Wecker
trunk - making assertInBody the same as in python3 branch.
Robert Brewer avatarRobert Brewer
trunk: more syntax syncs with python3, including a couple bugfixes that were done in the python3 branch
Default avatar Lakin Wecker
trunk - adding a flush that is needed in python3. Might be superfluous here.
Default avatar Lakin Wecker
trunk - a missing import. + whitespace fixes + callable calls removed + python3-esque raising of exceptions
Default avatar 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''
Default avatar Lakin Wecker
trunk - adding test_auth_basic and test_auth_digest into the normal test runs. Also fixing those tests for the new content-type header. Finally, flushing stdout in logtest and webtest.
Default avatar jaraco
Added test to allow checking for existance of a certain value in a comma-delimited list in headers
Default avatar Lakin Wecker
cherrypy.test - fixing a buglet in r2145 where the unused parts were in the wrong order. Also updating test/test.py's server to use the same import pattern.
Default avatar Lakin Wecker
cherrypy.test - updating webtest/helper to allow test names to contain full package names, like: cherrypy.test.test_tidy etc.
Robert Brewer avatarRobert Brewer
Refactored the interface() function a bit. New WebCase.get_conn method.
Robert Brewer avatarRobert Brewer
Whew. Fixed the whole test suite to properly handle the --host arg.
Default avatar Christian Wyglendowski
Committed Python 2.6/2.5.2 WSGI server compatibility patch from Lawouach and myself (see #837).
Robert Brewer avatarRobert Brewer
I suppose defaults don't mean much for property setters. ;)
Robert Brewer avatarRobert Brewer
Use %r instead of %s and `obj`.
Robert Brewer avatarRobert Brewer
New WebCase.time attribute (seconds to complete the last getPage call).
Robert Brewer avatarRobert Brewer
Upgraded all INADDR_ANY and localhost checks to include IPv6 equivalents.
Robert Brewer avatarRobert 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 avatarRobert Brewer
Simpler webtest trial loop.
Robert Brewer avatarRobert Brewer
Changes to socket_host:
Robert Brewer avatarRobert Brewer
Moved persistent conn support into webtest.
Robert Brewer avatarRobert Brewer
Fix for Python 2.3 accept-encoding issues (extra 'identity' value inserted, which broke gzip tests).
  1. Prev
  2. 1
  3. 2
  4. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.