Permalink
Browse files

Remove .part files before and after tests

  • Loading branch information...
1 parent c80f0a4 commit 3a648b209c11ea76ae72ef5bc6c02550cdd3ba0f @phihag phihag committed Jan 1, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test_download.py
View
@@ -85,6 +85,7 @@ def test_template(self):
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 test_template(self):
finally:
for tc in test_cases:
_try_rm(tc['file'])
+ _try_rm(tc['file'] + '.part')
_try_rm(tc['file'] + '.info.json')
return test_template

0 comments on commit 3a648b2

Please sign in to comment.