Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (14 sloc) 0.449 kb
import random
import string
from base import *
from util import *
LENGTH = 100*1024
class Test (TestBase):
def __init__ (self):
TestBase.__init__ (self, __file__)
self.name = "100k random"
self.request = "GET /100k HTTP/1.0\r\n"
self.expected_error = 200
def Prepare (self, www):
f = self.WriteFile (www, "100k", 0444, str_random (LENGTH))
self.expected_content = "file:" + f
Jump to Line
Something went wrong with that request. Please try again.