def drop_db(): db.drop_all() return "success"
def dropdb(): db.drop_all() return '删除成功'
def drop_db(): db.drop_all() return 'su'
def createTable(): db.drop_all() db.create_all() return "sec"
def tearDown(self): db.session.remove() db.drop_all() self.app_context.pop()
def drop_all(): db.drop_all() return '删库成功'