gyli commented on code in PR #47592:
URL: https://github.com/apache/airflow/pull/47592#discussion_r2217451166
##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_backfills.py:
##########
@@ -92,10 +95,16 @@ def to_iso(val):
class TestBackfillEndpoint:
@provide_session
def _create_dag_models(self, *, count=1, dag_id_prefix="TEST_DAG",
is_paused=False, session=None):
+ bundle_name = "dags-folder"
+ orm_dag_bundle = DagBundleModel(name=bundle_name)
Review Comment:
PR updated. All test functions now add dag bundle with fixture. For adding
dag bundle in helper functions, `DagBundleModel` is still used to avoid
creating dag bundle unnecessarily.
--
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]