示例#1
0
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))
示例#2
0
 def tearDown(self):
     db_api.drop_db()