summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_tutorials.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Added download method (serveFile demo) to tutorial 9.Robert Brewer2005-09-101-2/+10
|
* Improved file upload tutorial to demonstrate reading uploaded files in chunks.Robert Brewer2005-08-291-4/+4
|
* The second session filte was removed and the tutorials are renumberd. The ↵Michael Robinson2005-08-281-14/+4
| | | | sessionFitler no longer has any way to support multiple named sessions
* New cookies attribute in webtest, to make successive getPage() requests easier.Robert Brewer2005-08-171-2/+2
|
* Yet more test fixes for "showTracebacks".Robert Brewer2005-08-171-1/+1
|
* Big clean ups to the sessionfilter. Functions have been given more ↵Michael Robinson2005-08-171-1/+1
| | | | descriptive names. The sessionFilter can no longer create multiple named sessions based on the confuration settings. This can still be accomplished by manually placing the sessionFilter in _cpFilterList
* 1. Config section [global] (pathless) is now distinct from [/] (root path); ↵Robert Brewer2005-08-091-8/+8
| | | | | | | | | | they are no longer synonyms. "global" is the parent of "/". 2. The Request-URI is now parsed much earlier in Request processing, so that onStartResource and error filter methods may have access to it. 3. Absolute URI's (on the request line) are now converted to relative URI's to facilitate configMap lookups. 4. A Request-URI of "*" sets cherrypy.request.path to "global" (again for configMap). 5. Fixed a bug in config.getAll where the initial slash was missing for configMap lookups. 6. Bugfix: del Content-Length header if None.
* 1. Moved top-level test functions into a new TestHarness class.Robert Brewer2005-07-221-31/+28
| | | | | 2. Removed helper.HOST and .PORT. 3. Removed helper.port_is_free, since cherrypy.server now checks for free port.
* 1. Removed log() before config read.Robert Brewer2005-07-171-2/+1
| | | | 2. Moved some things around in the test suite to make them easier to reuse by CP apps.
* New webtest methods, such as assertStatus, assertHeader, assertInBodyRobert Brewer2005-07-151-25/+18
|
* Pulled base web testing functionality into test\webtest.py. Exceptions in ↵Robert Brewer2005-07-141-17/+17
| | | | server now show traceback in console, and raise ServerError in client test.
* import in test_tutorials.py was wrong, but still worked (?) "correct" now, ↵Robert Brewer2005-07-081-11/+12
| | | | but not sure why it worked when wrong.
* Implements ticket #195.Robert Brewer2005-06-251-24/+25
| | | | | | | | 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror.
* new getObjectTrail function, simplified session configurationMichael Robinson2005-06-241-2/+0
|
* 1. Allow deployers to turn off outputConfigMap.Robert Brewer2005-06-221-6/+2
| | | | 2. Made helper.request more helpful: POST fills in Content-Type and -Length defaults if missing.
* Implements ticket #172 (order response headers).Robert Brewer2005-06-221-2/+2
|
* Re-numbered tutorials (after removing aspect tutorial) and updated test suiteRemi Delon2005-06-201-31/+10
|
* New POST request tests.Robert Brewer2005-06-161-0/+13
|
* 1. New tutorial 11: file uploads.Robert Brewer2005-06-161-0/+20
| | | | 2. test suite extended to handle POST tests.
* Merged some useful updates from /branches/ooconf. Mostly speed tweaks, and ↵Robert Brewer2005-06-151-2/+1
| | | | removing some dead code.
* Oops on the version string, and newline fixes yet again.Robert Brewer2005-06-141-1/+1
|
* Now using 'global' for the main config key. ('/' still works but 'global' is ↵Remi Delon2005-06-141-4/+4
| | | | the default). Still need to update the docs
* 1. Sessionfilter now off by default.Robert Brewer2005-06-131-1/+3
| | | | 2. Profiling now on by default for test suite.
* Integrated tut10 into test suite.Robert Brewer2005-06-111-0/+9
|
* Now with proper newlines!Robert Brewer2005-06-111-15/+15
|
* test_tutorials.py now runs on its own (not just as part of test.py).Robert Brewer2005-06-111-20/+17
|
* Merged new test suite from branches/ticket-177 into trunk.Robert Brewer2005-06-101-0/+175