Update test_issue_673 in Youtube Lists
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 15 Jun 2013 09:20:22 +0000 (11:20 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sat, 15 Jun 2013 09:20:22 +0000 (11:20 +0200)
Some videos have been removed.
Delete the title check, it's not the purpose of that test.

test/test_youtube_lists.py

index 78657b51ca43b1776596e612266cb0e8d9a07ebd..b842e6cc160b2a1cc06f5e6c71ba103fd9a849bc 100644 (file)
@@ -53,8 +53,7 @@ class TestYoutubeLists(unittest.TestCase):
         dl = FakeDownloader()
         ie = YoutubePlaylistIE(dl)
         result = ie.extract('PLBB231211A4F62143')[0]
-        self.assertEqual(result['title'], 'Team Fortress 2')
-        self.assertTrue(len(result['entries']) > 40)
+        self.assertTrue(len(result['entries']) > 25)
 
     def test_youtube_playlist_long(self):
         dl = FakeDownloader()