Adapt tests to changes in youtube's "Most Popular" channel

This commit is contained in:
Philipp Hagemeister 2013-04-28 15:50:29 +02:00
parent 434aca5b14
commit 9665577802

View File

@ -97,7 +97,7 @@ class TestYoutubeLists(unittest.TestCase):
self.assertTrue(len(result['entries']) > 90) self.assertTrue(len(result['entries']) > 90)
#test autogenerated channel #test autogenerated channel
result = ie.extract('https://www.youtube.com/channel/HCtnHdj3df7iM/videos')[0] result = ie.extract('https://www.youtube.com/channel/HCtnHdj3df7iM/videos')[0]
self.assertTrue(len(result['entries']) > 20) self.assertTrue(len(result['entries']) >= 18)
def test_youtube_user(self): def test_youtube_user(self):
dl = FakeDownloader() dl = FakeDownloader()