youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 3a648b209c11ea76ae72ef5bc6c02550cdd3ba0f
parent c80f0a417aad9c2d45cc7baf012eaa3d5d5199e7
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue,  1 Jan 2013 21:15:52 +0100

Remove .part files before and after tests

Diffstat:
Mtest/test_download.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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