1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-15 13:55:38 +00:00

Update test_issue_673 in Youtube Lists

Some videos have been removed.
Delete the title check, it's not the purpose of that test.
This commit is contained in:
Jaime Marquínez Ferrándiz 2013-06-15 11:20:22 +02:00
parent fb8f7280bc
commit 31513ea6b9

View file

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