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