summaryrefslogtreecommitdiffhomepage
path: root/test/test_youtube_lists.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2012-12-11 18:07:38 +0100
committerPhilipp Hagemeister <[email protected]>2012-12-11 18:07:38 +0100
commit2c6945be30511f633b3544838692894802e8c9bd (patch)
tree937ead27638c6358808868799bcd7ff3e761a401 /test/test_youtube_lists.py
parent9a6f4429a08a4bb7e6a92cf74d0b7451a5e9e03f (diff)
downloadyoutube-dl-2c6945be30511f633b3544838692894802e8c9bd.tar.gz
youtube-dl-2c6945be30511f633b3544838692894802e8c9bd.zip
Fix TestYoutubeLists.test_youtube_user
Diffstat (limited to 'test/test_youtube_lists.py')
-rw-r--r--test/test_youtube_lists.py4
1 files changed, 2 insertions, 2 deletions
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)