projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c80f0a4
)
Remove .part files before and after tests
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 1 Jan 2013 20:15:52 +0000
(21:15 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 1 Jan 2013 20:16:03 +0000
(21:16 +0100)
test/test_download.py
patch
|
blob
|
history
diff --git
a/test/test_download.py
b/test/test_download.py
index 4a59f6638997df30864337f8473e9138463dbb80..40d596fdf1cf2e4b596917f28ecf431ef024014a 100644
(file)
--- a/
test/test_download.py
+++ b/
test/test_download.py
@@
-85,6
+85,7
@@
def generator(test_case):
test_cases = test_case.get('playlist', [test_case])
for tc in test_cases:
_try_rm(tc['file'])
+ _try_rm(tc['file'] + '.part')
_try_rm(tc['file'] + '.info.json')
try:
fd.download([test_case['url']])
@@
-107,6
+108,7
@@
def generator(test_case):
finally:
for tc in test_cases:
_try_rm(tc['file'])
+ _try_rm(tc['file'] + '.part')
_try_rm(tc['file'] + '.info.json')
return test_template