mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-21 05:44:02 -07:00
[downloader/http] Only check for resumability when actually resuming
This commit is contained in:
parent
6fece0a96b
commit
45495228b7
2 changed files with 3 additions and 2 deletions
|
@ -88,7 +88,7 @@ class TestHttpFD(unittest.TestCase):
|
|||
self.assertTrue(downloader.real_download(filename, {
|
||||
'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))
|
||||
|
||||
def download_all(self, params):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue