projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move check_executable into a helper ufnction
[youtube-dl]
/
test
/
test_download.py
diff --git
a/test/test_download.py
b/test/test_download.py
index dd5818dba91c166936e45f1c7d8779c752fa3b86..d0be8d27ca93631b73e6cf82d459cbdbf722b2fa 100644
(file)
--- 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'])
def _hook(status):
if status['status'] == 'finished':
finished_hook_called.add(status['filename'])
- ydl.
fd.
add_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', {}))
def get_tc_filename(tc):
return tc.get('file') or ydl.prepare_filename(tc.get('info_dict', {}))