use the new --test option to speed up tests (fetch only first 10K)
now all tests working and passing
This commit is contained in:
@@ -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']) + ')')
|
||||
|
Reference in New Issue
Block a user