]> jfr.im git - yt-dlp.git/blobdiff - test/test_youtube_lists.py
[youtube] correct --no-playlist for python3
[yt-dlp.git] / test / test_youtube_lists.py
index f28fe78e08a1034c7efd714f78d46f2ba98bc6b1..53e65816dfb9268c40831a57c781a169fbb050b7 100644 (file)
@@ -33,6 +33,7 @@ def test_youtube_playlist_noplaylist(self):
         ie = YoutubePlaylistIE(dl)
         result = ie.extract('https://www.youtube.com/watch?v=FXxLjLQi3Fg&list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re')
         self.assertEqual(result['_type'], 'url')
+        self.assertEqual(YoutubeIE()._extract_id(result['url']), 'FXxLjLQi3Fg')
 
     def test_issue_673(self):
         dl = FakeYDL()