Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

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

files_test.diff (1.2 kB) - added by Stonekeeper on 02/04/08 10:50:58.
test09 patch

Change History

02/04/08 10:50:58: Modified by Stonekeeper

  • attachment files_test.diff added.

test09 patch

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].

Hosted by WebFaction

Log in as guest/cpguest to create tickets