From: Philipp Hagemeister Date: Tue, 11 Dec 2012 17:07:38 +0000 (+0100) Subject: Fix TestYoutubeLists.test_youtube_user X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2c6945be30511f633b3544838692894802e8c9bd;p=youtube-dl Fix TestYoutubeLists.test_youtube_user --- diff --git a/test/test_youtube_lists.py b/test/test_youtube_lists.py index a11a59ed7..8939a5259 100644 --- a/test/test_youtube_lists.py +++ b/test/test_youtube_lists.py @@ -8,7 +8,7 @@ import socket import os sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -from youtube_dl.InfoExtractors import YoutubePlaylistIE +from youtube_dl.InfoExtractors import YoutubeUserIE,YoutubePlaylistIE from youtube_dl.utils import * # General configuration (from __init__, not very elegant...) @@ -62,7 +62,7 @@ class TestYoutubeLists(unittest.TestCase): def test_youtube_user(self): DL = FakeDownloader() - IE = YoutubePlaylistIE(DL) + IE = YoutubeUserIE(DL) IE.extract('https://www.youtube.com/user/TheLinuxFoundation') self.assertTrue(len(DL.result) >= 320)