tests/_utilities/fixtures/flask.py
def app():
    """Session-wide test `Flask` application.

    Establish an application context before running the tests.
    """
    app = create_app(testing=True)
    app.test_client_class = FlaskLoginClient
    ctx = app.app_context()
    ctx.push()
    yield app

    ctx.pop()
Session-wide test `Flask` application.

    Establish an application context before running the tests.
    
Session-wide test `Flask` application.
Establish an application context before running the tests.
Session - wide test ` Flask ` application . Establish an application context before running the tests .
def app():
    app = create_app(testing=True)
    app.test_client_class = FlaskLoginClient
    ctx = app.app_context()
    ctx.push()
    yield app
    ctx.pop()
def app ( ) : app = create_app ( testing = True ) app . test_client_class = FlaskLoginClient ctx = app . app_context ( ) ctx . push ( ) yield app ctx . pop ( )
Session-wide test `Flask` application.
Session - wide test ` Flask ` application .
"""Session-wide test `Flask` application.

    Establish an application context before running the tests.
    """