]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Adapt tests to changes in youtube's "Most Popular" channel
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 28 Apr 2013 13:50:29 +0000 (15:50 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 28 Apr 2013 13:50:29 +0000 (15:50 +0200)
test/test_youtube_lists.py

index b11e6ccaa246b5f4ddadc44d677573aa7c502399..3722ff5ba2695315d55d0e4e3b5e8bd9b39838c0 100644 (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()