projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa41fbd
)
import all IEs when testing to resemble more closely the real env
author
Filippo Valsorda
<filippo.valsorda@gmail.com>
Sun, 31 Mar 2013 01:12:28 +0000
(
03:12
+0200)
committer
Filippo Valsorda
<filippo.valsorda@gmail.com>
Sun, 31 Mar 2013 01:12:28 +0000
(
03:12
+0200)
test/test_download.py
patch
|
blob
|
history
diff --git
a/test/test_download.py
b/test/test_download.py
index a8de1d0025357b72ce39eeebe54960a3f42c867a..e29092c456b3d08c7e96c7cf35aae858118fd325 100644
(file)
--- 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':