Преглед изворни кода

[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
Jaime Marquínez Ferrándiz пре 12 година
родитељ
комит
48f9678a32
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test/test_youtube_lists.py

+ 1 - 1
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)