Ver código fonte

Update test_issue_673 in Youtube Lists

Some videos have been removed.
Delete the title check, it's not the purpose of that test.
Jaime Marquínez Ferrándiz 12 anos atrás
pai
commit
31513ea6b9
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      test/test_youtube_lists.py

+ 1 - 2
test/test_youtube_lists.py

@@ -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()