We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 290f632 commit 2d56d26Copy full SHA for 2d56d26
airflow-core/tests/unit/api_fastapi/execution_api/versions/v2025_04_28/test_task_instances.py
@@ -79,6 +79,7 @@ def test_ti_run(
79
time_machine,
80
mock_indexes,
81
expected_response_indexes,
82
+ get_execution_app,
83
):
84
"""
85
Test that this version of the endpoint works.
@@ -101,7 +102,7 @@ def test_ti_run(
101
102
dag = ti.task.dag
103
dagbag = create_dag_bag()
104
dagbag.dags = {dag.dag_id: dag}
- execution_app = next(route.app for route in ver_client.app.routes if route.path == "/execution")
105
+ execution_app = get_execution_app(ver_client)
106
execution_app.dependency_overrides[dag_bag_from_app] = lambda: dagbag
107
session.commit()
108
0 commit comments