示例#1
0
def dropdb():
    """Drops all tables and constraints from the database."""
    db.drop_all()
def pytest_unconfigure(config):
    app = Application('test')
    with app.app_context():
        db.drop_all()