summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2014-01-25 16:55:59 +0100
committerJaime Marquínez Ferrándiz <[email protected]>2014-01-25 17:02:32 +0100
commit48f9678a32377491bf0967cb13cf21f2d7704126 (patch)
tree531585cf9f39460dc854e0224601354524ed5286
parentbeddbc2ad10864868d8537a65928f88a58d729c8 (diff)
downloadyoutube-dl-48f9678a32377491bf0967cb13cf21f2d7704126.tar.gz
youtube-dl-48f9678a32377491bf0967cb13cf21f2d7704126.zip
[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
-rw-r--r--test/test_youtube_lists.py2
1 files changed, 1 insertions, 1 deletions
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)