1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 22:22:56 +08:00

Lower number of expected entries in top list

This commit is contained in:
Philipp Hagemeister 2013-12-09 04:50:48 +01:00
parent ffa8f0df0a
commit 977887469c

View File

@ -122,7 +122,7 @@ class TestYoutubeLists(unittest.TestCase):
ie = YoutubeTopListIE(dl) ie = YoutubeTopListIE(dl)
result = ie.extract('yttoplist:music:Top Tracks') result = ie.extract('yttoplist:music:Top Tracks')
entries = result['entries'] entries = result['entries']
self.assertTrue(len(entries) >= 9) self.assertTrue(len(entries) >= 5)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()