1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-04 16:41:19 +00: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()