def tearDown(self):
        # Attempt to drop any test databases that may have been created.
        if self.dbname1:
            dbutil.TESTSERVER.drop(self.dbname1)
        if self.dbname2:
            dbutil.TESTSERVER.drop(self.dbname2)

        # Attempt to remove any test save files that may have been created.
        if self.filename1:
            filepath1 = os.path.join(self.SAVE_DIR, self.filename1)
            try:
                os.remove(filepath1)
            except __HOLE__:
                # Don't worry if it is not there: test may have bombed
                # before creating the file.
                pass
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_dbutil.py/TestServer.tearDown