use the new --test option to speed up tests (fetch only first 10K)
now all tests working and passing
This commit is contained in:
parent
d3d3199870
commit
4fb1acc212
4 changed files with 135 additions and 93 deletions
|
@ -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']) + ')')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue