Skip to content

Commit

Permalink
Delete any files that get moved.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Mar 3, 2013
1 parent f48cc97 commit 9fb1e79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test_collectr.py
Expand Up @@ -22,6 +22,12 @@ def setUp(self):
def tearDown(self):
self.dir = None

try: # Delete the files if they exist, otherwise mask failure.
self.old_call('rm -rf test/fixtures/dirB/css')
self.old_call('rm -rf test/fixtures/dirB/js')
except OSError:
pass

def test_enumerate_files(self):
result = ['test/fixtures/dirA/css/css1.css',
'test/fixtures/dirA/css/css2.css',
Expand Down

0 comments on commit 9fb1e79

Please sign in to comment.