Skip to content

Commit

Permalink
Add test case for facebookarchive#56
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoo committed Jul 4, 2015
1 parent 2c24edd commit 232860a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/tasks/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,10 @@ def test_file_delete_race_condition(self):
self.task.execute()

self.assertTrue(self.task.onFileDeleted.called)

def test_nodirectory_ok(self):
# Call close() on the named directory to cleanup the directory
self.testpath.close()

# Then, call execute() and make sure nothing blows up
self.task.execute()

0 comments on commit 232860a

Please sign in to comment.