1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-27 03:35:18 +02:00

[test/youtube_lists] Change the list used for testing the Top Lists extractor

The ‘Top tracks’ list is not always present in the channel page
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-01-25 16:55:59 +01:00
parent beddbc2ad1
commit 48f9678a32

View File

@ -120,7 +120,7 @@ def test_youtube_mix(self):
def test_youtube_toplist(self): def test_youtube_toplist(self):
dl = FakeYDL() dl = FakeYDL()
ie = YoutubeTopListIE(dl) ie = YoutubeTopListIE(dl)
result = ie.extract('yttoplist:music:Top Tracks') result = ie.extract('yttoplist:music:Trending')
entries = result['entries'] entries = result['entries']
self.assertTrue(len(entries) >= 5) self.assertTrue(len(entries) >= 5)