kopia lustrzana https://github.com/ytdl-org/youtube-dl
Remove obsolete non-working test_youtube_toptracks
rodzic
2c2c2bd348
commit
d76d59d99d
|
@ -43,15 +43,6 @@ class TestYoutubeLists(unittest.TestCase):
|
|||
original_video = entries[0]
|
||||
self.assertEqual(original_video['id'], 'uVJ0Il5WvbE')
|
||||
|
||||
def test_youtube_toptracks(self):
|
||||
print('Skipping: The playlist page gives error 500')
|
||||
return
|
||||
dl = FakeYDL()
|
||||
ie = YoutubePlaylistIE(dl)
|
||||
result = ie.extract('https://www.youtube.com/playlist?list=MCUS')
|
||||
entries = result['entries']
|
||||
self.assertEqual(len(entries), 100)
|
||||
|
||||
def test_youtube_flat_playlist_extraction(self):
|
||||
dl = FakeYDL()
|
||||
dl.params['extract_flat'] = True
|
||||
|
|
Ładowanie…
Reference in New Issue