diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-03-31 03:12:28 +0200 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-03-31 03:12:28 +0200 |
commit | f375d4b7de17b1ac3d8fda9d4f071e1e55be1963 (patch) | |
tree | 70be876908a43732ae2ff3d07457bf67f9b2eb0e /test/test_download.py | |
parent | fa41fbd3189b36300a4558b722dea5857a7e4214 (diff) |
import all IEs when testing to resemble more closely the real env
Diffstat (limited to 'test/test_download.py')
-rw-r--r-- | test/test_download.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_download.py b/test/test_download.py index a8de1d002..e29092c45 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -81,9 +81,8 @@ def generator(test_case): params.update(test_case.get('params', {})) fd = FileDownloader(params) - fd.add_info_extractor(ie()) - for ien in test_case.get('add_ie', []): - fd.add_info_extractor(getattr(youtube_dl.InfoExtractors, ien + 'IE')()) + for ie in youtube_dl.InfoExtractors.gen_extractors(): + fd.add_info_extractor(ie) finished_hook_called = set() def _hook(status): if status['status'] == 'finished': |