def setUp(self):
    self.homeDir = get_new_environment_path()
    self.env = db.DBEnv()
    self.env.open(self.homeDir, (((db.DB_CREATE | db.DB_INIT_MPOOL) | db.DB_INIT_LOG) | db.DB_INIT_TXN))
    self.db = db.DB(self.env)
def setUp(self):
    self.homeDir = get_new_environment_path()
    self.env = db.DBEnv()
    self.env.open(self.homeDir, (((db.DB_CREATE | db.DB_INIT_MPOOL) | db.DB_INIT_LOG) | db.DB_INIT_TXN))
    self.db = db.DB(self.env)