Commit 779aa469 authored by Barry Warsaw's avatar Barry Warsaw

tearDown(): Call base class's tearDown() at the end so we're more

likely to actually remove the test-db directory every time.
parent bf924768
......@@ -36,10 +36,10 @@ class BerkeleyTestBase(StorageTestBase):
# subsequent tests because the next transaction commit will try to
# commit those object. But they're tied to closed databases, so
# that's broken. Aborting the transaction now saves us the headache.
StorageTestBase.tearDown(self)
for file in os.listdir(DBHOME):
os.unlink(os.path.join(DBHOME, file))
os.removedirs(DBHOME)
StorageTestBase.tearDown(self)
......
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