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 app(): """Set up global front-end app for functional tests Initialized once per test-run """ return create_frontend_app(config.TESTING_CONF_PATH)