logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 48f9678a32377491bf0967cb13cf21f2d7704126
parent beddbc2ad10864868d8537a65928f88a58d729c8
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date:   Sat, 25 Jan 2014 16:55:59 +0100

[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

Diffstat:

Mtest/test_youtube_lists.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py @@ -120,7 +120,7 @@ class TestYoutubeLists(unittest.TestCase): def test_youtube_toplist(self): dl = FakeYDL() ie = YoutubeTopListIE(dl) - result = ie.extract('yttoplist:music:Top Tracks') + result = ie.extract('yttoplist:music:Trending') entries = result['entries'] self.assertTrue(len(entries) >= 5)