summaryrefslogtreecommitdiff
path: root/cherrypy/test/test.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed test.py etc.Robert Brewer2010-04-271-180/+0
|
* nose without nose-testconfig or with but not specified now worksJoseph Tate2010-02-241-4/+6
|
* Convert the tests to use nose instead of our own runner. This strips out ↵Joseph Tate2010-02-241-430/+53
| | | | | | 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.
* Update covercp and test suite to use coverage 3.2. Should be faster. Note ↵Joseph Tate2010-01-281-10/+14
| | | | no branch coverage yet.
* fixed Parser class pathSylvain Hellegouarch2009-11-201-1/+1
|
* sync with python3, including separation of InternalRedirect handling and ↵Robert Brewer2009-10-051-5/+5
| | | | Exception trapping to WSGI middleware.
* Merged the 'gateways' branch into trunk.Robert Brewer2009-10-031-99/+143
|
* Fix for #930 (The tidy and nsgmls tools will fail for concurrent requests). ↵Robert Brewer2009-08-111-1/+0
| | | | Removed the tidy/nsgmls tools.
* Copied some tool debug code from python3Robert Brewer2009-08-021-4/+4
|
* The test suite was registering multiple engine signal handlers and loggers.Robert Brewer2009-08-021-7/+7
|
* Factored SSL out to separate modules.Robert Brewer2009-08-011-0/+1
|
* All internals now use cherrypy.serving.request/response instead of ↵Robert Brewer2009-06-221-1/+3
| | | | request/response for a speed boost.
* Removed py3print.Robert Brewer2009-06-141-23/+23
|
* More syncs with python3.Robert Brewer2009-06-091-2/+2
|
* trunk - adding a py3util module that will normalize as many differences ↵Lakin Wecker2009-06-011-25/+29
| | | | 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''
* trunk - adding test_auth_basic and test_auth_digest into the normal test ↵Lakin Wecker2009-06-011-0/+2
| | | | runs. Also fixing those tests for the new content-type header. Finally, flushing stdout in logtest and webtest.
* Updated test suite to new covercp.Robert Brewer2009-04-231-2/+0
|
* JSON input/output tools (#831)alex.morega2009-03-311-0/+1
|
* Fixed a buglet in test_states.Robert Brewer2009-03-091-1/+2
|
* cherrypy.test - fixing a buglet in r2145 where the unused parts were in the ↵Lakin Wecker2009-03-041-1/+6
| | | | wrong order. Also updating test/test.py's server to use the same import pattern.
* Broke a bunch of test_core tests out into a new test_request_obj.py.Robert Brewer2009-02-201-0/+1
|
* Fixing broken teardown_server.Robert Brewer2009-02-101-0/+3
|
* New CRLF test, plus some test suite fixes.Robert Brewer2009-02-051-8/+17
|
* New test module for config in the "server.*" namespace.Robert Brewer2009-01-291-0/+1
|
* Rework of test suite to start the engine once per module, and only for ↵Robert Brewer2009-01-291-40/+96
| | | | modules that have a 'setup_server' function. This allows us to include modules which do not need to start a server in the normal test.py testList and exercise them at every full run. See, for example, that test_bus and test_states are now included.
* More bus tests.Robert Brewer2009-01-121-1/+0
|
* About time we had a test_bus.py.Robert Brewer2009-01-101-0/+1
|
* Fix for #890 (multipart/* messages error on PageHandler.__call__).Robert Brewer2009-01-081-1/+1
|
* Silenced some cpmodpy errors due to not using WSGI.Robert Brewer2008-11-081-0/+4
|
* #869 - added the ability for dynamic dispatching by the controller to better ↵Lakin Wecker2008-10-301-0/+1
| | | | allow urls of the form: /users/123/addresses/3/city
* Almost fcgi support in tests.Robert Brewer2008-07-091-0/+6
|
* Removing test_conn from test.py since it needs different server config.Robert Brewer2008-06-301-1/+1
|
* Fix for #824 (_cplogging.LogManager.access method not handling unicode in ↵Robert Brewer2008-06-221-0/+1
| | | | login names properly). While I was at it, I made the access log template configurable, moved the log tests from test_core into test_logging, and added a new logtest module.
* Print PID in test suite.Robert Brewer2008-03-071-0/+1
|
* Moved test_http.py back into the test suite since it runs fast here.Robert Brewer2008-02-201-0/+1
|
* Forward port to trunk of 3.0.x [1716]. New support for mod_wsgi in the test ↵Robert Brewer2007-10-281-0/+7
| | | | suite. Use test.py --server=modwsgi.
* No reason to exclude these tests.Robert Brewer2007-10-271-0/+3
|
* Made test.CommandLineParser shortopts/longopts into instance attributes for ↵Robert Brewer2007-10-161-4/+6
| | | | easier extension.
* Test suite: prefer command-line args to base conf.Robert Brewer2007-10-091-14/+14
|
* Porting some of [1711] to trunk.Robert Brewer2007-09-271-3/+4
|
* Copied [1711] to trunk.Robert Brewer2007-09-271-0/+3
|
* No sense passing rfile if it's already required to be in wsgi.input.Robert Brewer2007-06-221-1/+2
|
* Fix for #648 (Flash 8 upload socket timeout). Optional safe_multipart tool ↵Robert Brewer2007-06-221-0/+1
| | | | in lib.
* Oops.Robert Brewer2007-03-051-6/+4
|
* New pywebd module. Trunk is now "3.1alpha".Robert Brewer2007-03-051-6/+6
|
* Changes to socket_host:Robert Brewer2006-12-121-7/+15
| | | | | | | | | 1. wsgiserver now treats a host of "" as an alias for INADDR_ANY. The getaddrinfo call now passes host=None and sets AI_PASSIVE in this case. 2. Server.httpserver_from_self doesn't change an empty host ("") to localhost anymore. 3. The test suite has a new {{{--host=<name or IP>}}} flag. 4. The webtest module now allows WebCase.HOST to be "", and will connect on '127.0.0.1' if so. 5. Lots of comments throughout to explain that the server's treatment of {{{socket_host=""}}} (all IPs) is different than the client's (pick any IP). 6. Hopefully, this will fix #619 (long delay on startup).
* pychecker and doc tweaks.Robert Brewer2006-12-021-1/+1
|
* Initial test_tidy, plus a bugfix in tidy.strict_xml and indent args.Robert Brewer2006-12-021-0/+1
|
* Renamed {{{_cpwsgiserver.py}}} to {{{wsgiserver.py}}}, to make it more clear ↵Robert Brewer2006-11-301-1/+1
| | | | that it's a public, reusable module. Also renamed {{{_cpwsgi.WSGIServer}}} to {{{_cpwsgi.CPWSGIServer}}}, to match the naming convention of the other subclasses in that module.
* Added an '-ssl' arg to test_states to help fix #606 (Problem timing out the ↵Robert Brewer2006-11-271-1/+1
| | | | persistent connection when SSL is enabled).