aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-10-01 11:58:13 -0400
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-10-01 11:58:13 -0400
commit7c61bd36bb172485815288d44e00acb676e8eaff (patch)
treedd39f2790e739e85ffca4b98e3eb1235502e21d1 /test
parentd4d9920a2630ef6c44cffa1b923e41291b44b5f0 (diff)
[youtube] correct --no-playlist for python3
Diffstat (limited to 'test')
-rw-r--r--test/test_youtube_lists.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py
index f28fe78e0..53e65816d 100644
--- a/test/test_youtube_lists.py
+++ b/test/test_youtube_lists.py
@@ -33,6 +33,7 @@ class TestYoutubeLists(unittest.TestCase):
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()