def frontend_app():
    """Set up global front-end app for functional tests

    Initialized once per test-run
    """
    app = create_frontend_app(config.TESTING_CONF_PATH)
    with app.app_context():
        setup_app(app)
        setup_db()
        yield app
        teardown_db()
Beispiel #2
0
def setup():
    # Setup the database
    setup_app()
def setup():
    # Setup the database
    setup_app()
Beispiel #4
0
def setup():
    # Setup the Flask app
    app.add_web_components()

    # Setup the database
    setup_app()
Beispiel #5
0
def setup():
    # Setup the Flask app
    app.add_web_components()

    # Setup the database
    setup_app()