# now disconnect somebody's connection to themselves
d.addCallback(_check_again2)
return d
+ test_system.timeout = 1200
def stall(self, res, timeout):
d = defer.Deferred()
return d1
d.addCallback(_download_nonexistent_uri)
return d
- test_upload_and_download.timeout = 1100
+ test_upload_and_download.timeout = 2400
def flip_bit(self, good):
return good[:-1] + chr(ord(good[-1]) ^ 0x01)
d = self.u.upload_data(data)
d.addCallback(self._check)
return d
+ testData.timeout = 300
def testFileHandle(self):
data = "This is some data to upload"
d = self.u.upload_filehandle(StringIO(data))
d.addCallback(self._check)
return d
+ testFileHandle.timeout = 300
def testFilename(self):
fn = "Uploader-testFilename.data"
d = self.u.upload_filename(fn)
d.addCallback(self._check)
return d
+ testFilename.test = 300
class FullServer(unittest.TestCase):
def setUp(self):