aboutsummaryrefslogtreecommitdiff
path: root/test/gentests.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-11 12:12:02 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-11 12:12:02 +0100
commit4fb1acc212555e3e817f858dce964876eef75d85 (patch)
tree42a396707e029ea0193742dd6ca816c593d6644a /test/gentests.py
parentd3d31998705fd8d850d07d69933c9ed07257e95f (diff)
downloadyoutube-dl-4fb1acc212555e3e817f858dce964876eef75d85.tar.xz
use the new --test option to speed up tests (fetch only first 10K)
now all tests working and passing
Diffstat (limited to 'test/gentests.py')
-rwxr-xr-xtest/gentests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/gentests.py b/test/gentests.py
index ee9092f33..0ea5d9f21 100755
--- a/test/gentests.py
+++ b/test/gentests.py
@@ -113,8 +113,6 @@ def gentests():
write(' fd.add_info_extractor(youtube_dl.InfoExtractors.' + ien + 'IE())')
write(' fd.download([' + repr(d['url']) + '])')
write(' self.assertTrue(os.path.exists(filename))')
- if 'size' in d:
- write(' self.assertEqual(os.path.getsize(filename), ' + repr(d['size']) + ')')
if 'md5' in d:
write(' md5_for_file = _file_md5(filename)')
write(' self.assertEqual(md5_for_file, ' + repr(d['md5']) + ')')