Issue #784 resolved

Easy resizing of test data for tut09

Anonymous created an issue

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.

Reported by Stonekeeper

Comments (3)

  1. Anonymous

    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.

  2. Log in to comment