Commit e2f35e4c authored by Jeremy Hylton's avatar Jeremy Hylton

Cleanup properly

parent 8bec89d6
......@@ -27,7 +27,10 @@ class FileStorageTests(
def tearDown(self):
StorageTestBase.StorageTestBase.tearDown(self)
os.remove('FileStorageTests.fs')
for ext in '', '.old', '.tmp', '.lock', '.index':
path = 'FileStorageTests.fs' + ext
if os.path.exists(path):
os.remove(path)
def test_suite():
return unittest.makeSuite(FileStorageTests, 'check')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment