Remove obsolete test_youtube_course
authordf <fieldhouse@gmx.net>
Thu, 28 Oct 2021 14:57:10 +0000 (15:57 +0100)
committerdirkf <fieldhouse@gmx.net>
Sat, 29 Jan 2022 20:00:21 +0000 (20:00 +0000)
test/test_youtube_lists.py

index 72820972e2dd079708beb5eaf71e22e8ee155fdd..e1636a1a6d6058f919a2048ea0578869bbb0c099 100644 (file)
@@ -32,16 +32,6 @@ class TestYoutubeLists(unittest.TestCase):
         result = dl.extract_info(result['url'], download=False, ie_key=result.get('ie_key'), process=False)
         self.assertEqual(YoutubeIE().extract_id(result['url']), 'FXxLjLQi3Fg')
 
-    def test_youtube_course(self):
-        dl = FakeYDL()
-        ie = YoutubePlaylistIE(dl)
-        # TODO find a > 100 (paginating?) videos course
-        result = ie.extract('https://www.youtube.com/course?list=ECUl4u3cNGP61MdtwGTqZA0MreSaDybji8')
-        entries = list(result['entries'])
-        self.assertEqual(YoutubeIE().extract_id(entries[0]['url']), 'j9WZyLZCBzs')
-        self.assertEqual(len(entries), 25)
-        self.assertEqual(YoutubeIE().extract_id(entries[-1]['url']), 'rYefUsYuEp0')
-
     def test_youtube_mix(self):
         dl = FakeYDL()
         ie = YoutubePlaylistIE(dl)