Skip to content

Commit

Permalink
Fix tests introduced in #45546 (#45572)
Browse files Browse the repository at this point in the history
This was merged without letting tests pass somehow. We have removed the
`root_dag` argument in Airflow 3.
  • Loading branch information
ashb authored Jan 10, 2025
1 parent a2d5a25 commit 4c01f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api_connexion/endpoints/test_dag_run_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@ def test_action_logging(self, state, run_type, dag_maker, session):
dag_run_id = "TEST_DAG_RUN_ID"
with dag_maker(dag_id) as dag:
task = EmptyOperator(task_id="task_id", dag=dag)
self.app.dag_bag.bag_dag(dag, root_dag=dag)
self.app.dag_bag.bag_dag(dag)
dr = dag_maker.create_dagrun(run_id=dag_run_id, run_type=run_type)
ti = dr.get_task_instance(task_id="task_id")
ti.task = task
Expand Down

0 comments on commit 4c01f7d

Please sign in to comment.