From: Jaime Marquínez Ferrándiz Date: Sat, 25 Jan 2014 15:55:59 +0000 (+0100) Subject: [test/youtube_lists] Change the list used for testing the Top Lists extractor X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=48f9678a32377491bf0967cb13cf21f2d7704126;p=youtube-dl [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 --- diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py index d9fe5af4e..de157f657 100644 --- 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)