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:
parent
ffa8f0df0a
commit
977887469c
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user