示例#1
0
def soft_reset(verbose=False):
    if not verbose:
        db.engine.echo = False

    db.drop_all()
    db.create_all()
    seed_db()
    return 0
示例#2
0
 def setUp(self):
     db.create_all()