aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordf <[email protected]>2021-10-28 15:57:10 +0100
committerdirkf <[email protected]>2022-01-29 20:00:21 +0000
commit46e0a729b2d4503d8d49433fdddfce726d08261e (patch)
tree0faf2d4d3f86664739a9f334416d43c7b753176c
parent57044eacebc6f2f3cd83c345e1b6e659a22e4773 (diff)
downloadyoutube-dl-46e0a729b2d4503d8d49433fdddfce726d08261e.tar.gz
youtube-dl-46e0a729b2d4503d8d49433fdddfce726d08261e.zip
Remove obsolete test_youtube_course
-rw-r--r--test/test_youtube_lists.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index 72820972e..e1636a1a6 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -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)