Two changes to ensure that we remove the test-db file when an error
occurs. First, inherit from BerkeleyTestBase which has proper setUp and tearDown methods, and second, wrap the .abort() and ._close() call in tearDown() in a try/finally so we're guaranteed that the base class's tearDown gets run.
Showing
Please register or sign in to comment