Skip to content

Commit

Permalink
Change file removal test
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDacre committed Aug 18, 2017
1 parent d55a3d9 commit c1cf403
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,10 @@ def test_splitfile_indirect():
outfile='test.out.txt', direct=False
)
job.wait()
os.remove('test.txt.gz.split_0001.gz.out')
os.remove('test.txt.gz.split_0002.gz.out')
if os.path.isfile('test.txt.gz.split_0001.gz.out'):
os.remove('test.txt.gz.split_0001.gz.out')
if os.path.isfile('test.txt.gz.split_0002.gz.out'):
os.remove('test.txt.gz.split_0002.gz.out')
assert os.path.isfile('test.out.txt')
os.remove('test.out.txt')
return 0
Expand Down

0 comments on commit c1cf403

Please sign in to comment.