about summary refs log tree commit diff
path: root/test/test_download.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-23 22:42:59 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-23 22:42:59 +0200
commit0824c28c8bb8390cd750c3bf95c6307c8462dcc1 (patch)
tree17651cf485db8621e9377863c311c631e6adb6a8 /test/test_download.py
parentc59b4aaeef04cba1c98cbc9934fd6bc8d8ba416c (diff)
downloadyoutube-dl-0824c28c8bb8390cd750c3bf95c6307c8462dcc1.tar.gz
youtube-dl-0824c28c8bb8390cd750c3bf95c6307c8462dcc1.tar.xz
youtube-dl-0824c28c8bb8390cd750c3bf95c6307c8462dcc1.zip
Remove mentions of old InfoExtractors module
Diffstat (limited to 'test/test_download.py')
-rw-r--r--test/test_download.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_download.py b/test/test_download.py
index 6365b0340..f3e56e9ae 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -14,7 +14,7 @@ import binascii
 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
 import youtube_dl.FileDownloader
-import youtube_dl.InfoExtractors
+import youtube_dl.extractors
 from youtube_dl.utils import *
 
 DEF_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tests.json')
@@ -72,7 +72,7 @@ class TestDownload(unittest.TestCase):
 def generator(test_case):
 
     def test_template(self):
-        ie = youtube_dl.InfoExtractors.get_info_extractor(test_case['name'])
+        ie = youtube_dl.extractors.get_info_extractor(test_case['name'])
         if not ie._WORKING:
             print('Skipping: IE marked as not _WORKING')
             return
@@ -87,7 +87,7 @@ def generator(test_case):
         params.update(test_case.get('params', {}))
 
         fd = FileDownloader(params)
-        for ie in youtube_dl.InfoExtractors.gen_extractors():
+        for ie in youtube_dl.extractors.gen_extractors():
             fd.add_info_extractor(ie)
         finished_hook_called = set()
         def _hook(status):