aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-12-23 05:03:32 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-12-23 05:03:32 +0100
commit9fc3bef87a1009eb48f2012f3eab65761a53ba5e (patch)
treea8f80150af91bc2c749116b80fb314fffefd432c /test
parentd80044c235afcbcfa905ab08a82f6f972df25268 (diff)
parent3bc2ddccc8622379ec11e802dff30a635285a9c8 (diff)
Merge remote-tracking branch 'jaimeMF/split-downloaders'
Diffstat (limited to 'test')
-rw-r--r--test/test_download.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py
index dd5818dba..f242b3528 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -90,7 +90,7 @@ def generator(test_case):
def _hook(status):
if status['status'] == 'finished':
finished_hook_called.add(status['filename'])
- ydl.fd.add_progress_hook(_hook)
+ ydl.add_downloader_progress_hook(_hook)
def get_tc_filename(tc):
return tc.get('file') or ydl.prepare_filename(tc.get('info_dict', {}))