diff options
author | dirkf <fieldhouse@gmx.net> | 2023-03-19 00:51:44 +0000 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2023-03-19 02:15:41 +0000 |
commit | 45495228b7a6728b7e764bbcf1f38490cd3d8697 (patch) | |
tree | df97d1e937822ed50520814809830c88260d3bf4 /test | |
parent | 6fece0a96b3cd8677f5c1185a57c6e21403fcb44 (diff) |
[downloader/http] Only check for resumability when actually resuming
Diffstat (limited to 'test')
-rw-r--r-- | test/test_downloader_http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_downloader_http.py b/test/test_downloader_http.py index 4e6d7a2a0..6af86ae48 100644 --- a/test/test_downloader_http.py +++ b/test/test_downloader_http.py @@ -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): |