1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 22:47:55 +01:00

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)
#test autogenerated channel
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):
dl = FakeDownloader()