Remove obsolete non-working test_youtube_toptracks

This commit is contained in:
df 2021-10-29 03:10:35 +01:00 committed by dirkf
parent 2c2c2bd348
commit d76d59d99d

View File

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