def db_handler(): drop_status = db_api.drop_db() print("Dropping database: %s" % map_status(drop_status)) start_status = db_api.setup_db() print("Creating database: %s" % map_status(start_status))
def tearDown(self): db_api.drop_db()