gyli commented on code in PR #47592: URL: https://github.com/apache/airflow/pull/47592#discussion_r2238288227
########## airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_import_error.py: ########## Review Comment: This is because function scope fixture `testing_dag_bundle` is used here. If they are class scoped, it will raise error `ScopeMismatch: You tried to access the function scoped fixture testing_dag_bundle with a class scoped request object.` I think switching to function scoped is easier, compared to creating bundle with `DagBundleModel`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
