gyli commented on code in PR #47592:
URL: https://github.com/apache/airflow/pull/47592#discussion_r2214921659
##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_dag_warning.py:
##########
@@ -40,11 +41,17 @@
@provide_session
def setup(dag_maker, session=None) -> None:
clear_db_dags()
+ clear_db_dag_bundles()
clear_db_dag_warnings()
- session.add(DagModel(dag_id=DAG1_ID))
- session.add(DagModel(dag_id=DAG2_ID))
- session.add(DagModel(dag_id=DAG3_ID))
+ bundle_name = "test_bundle"
+ orm_dag_bundle = DagBundleModel(name=bundle_name)
Review Comment:
Will update this one.
--
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]