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()
Example #2
0
def setup():
    # Setup the database
    setup_app()
Example #3
0
def setup():
    # Setup the database
    setup_app()
Example #4
0
def setup():
    # Setup the Flask app
    app.add_web_components()

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

    # Setup the database
    setup_app()