aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-12-23 10:37:27 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2013-12-23 10:37:27 +0100
commit933605d7e8c00df065f04024c3206a3352058484 (patch)
tree48be10ef964cf467e8a8d4667279cb0847e79073 /test
parentb3d9ef88ec55335db93601f4b2ec9ad30eca93ec (diff)
YoutubeDL: rename `_fd_progress_hooks` back to `_progress_hooks`
In the future it may report more things.
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 f242b3528..d0be8d27c 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.add_downloader_progress_hook(_hook)
+ ydl.add_progress_hook(_hook)
def get_tc_filename(tc):
return tc.get('file') or ydl.prepare_filename(tc.get('info_dict', {}))