|
|
@ -88,7 +88,7 @@ class TestHttpFD(unittest.TestCase):
|
|
|
|
self.assertTrue(downloader.real_download(filename, {
|
|
|
|
self.assertTrue(downloader.real_download(filename, {
|
|
|
|
'url': 'http://127.0.0.1:%d/%s' % (self.port, ep),
|
|
|
|
'url': 'http://127.0.0.1:%d/%s' % (self.port, ep),
|
|
|
|
}))
|
|
|
|
}))
|
|
|
|
self.assertEqual(os.path.getsize(encodeFilename(filename)), TEST_SIZE)
|
|
|
|
self.assertEqual(os.path.getsize(encodeFilename(filename)), TEST_SIZE, ep)
|
|
|
|
try_rm(encodeFilename(filename))
|
|
|
|
try_rm(encodeFilename(filename))
|
|
|
|
|
|
|
|
|
|
|
|
def download_all(self, params):
|
|
|
|
def download_all(self, params):
|
|
|
|