Ticket #784 (enhancement)
Opened 6 months ago
Last modified 3 months ago
Easy resizing of test data for tut09
Status: closed (fixed)
| Reported by: | Stonekeeper | Assigned to: | rdelon |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | CherryPy code | Keywords: | |
| Cc: |
Currently, changing test09 to test larger uploads requires some editing and maths! This patch allows you to change one variable and the header,body and response code will adjust automatically.
Attachments
Change History
02/04/08 10:50:58: Modified by Stonekeeper
- attachment files_test.diff added.
02/04/08 11:01:25: Modified by lakin
This patch would be better, if the actual uploading portion was factored out into an internal method, so that test09 could call:
response = self._upload_file(size=1024*1024)
or some such. I suspect this would facilitate making a new test for your ssl upload error.
04/26/08 19:46:12: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.
Fixed in [1954].


test09 patch