示例#1
0
def app():
    db.drop_all_tables(with_all_data=True)
    app = create_app()
    return app
示例#2
0
def test_create_app():
    for i in range(10):
        db.drop_all_tables(with_all_data=True)
        with db_session:
            assert True
        app = create_app()