use the new --test option to speed up tests (fetch only first 10K)

now all tests working and passing
This commit is contained in:
Filippo Valsorda 2012-12-11 12:12:02 +01:00
parent d3d3199870
commit 4fb1acc212
4 changed files with 135 additions and 93 deletions

View file

@ -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']) + ')')