File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/airflow/api_fastapi/core_api/routes/public
tests/unit/api_fastapi/core_api/routes/public Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def get_extra_links(
77
77
if not ti :
78
78
raise HTTPException (
79
79
status .HTTP_404_NOT_FOUND ,
80
- f"DAG Run with ID = { dag_run_id } not found" ,
80
+ "TaskInstance not found" ,
81
81
)
82
82
83
83
all_extra_link_pairs = (
Original file line number Diff line number Diff line change @@ -131,12 +131,6 @@ def _create_dag(self, dag_maker):
131
131
{"detail" : "DAG with ID = INVALID not found" },
132
132
id = "missing_dag" ,
133
133
),
134
- pytest .param (
135
- "/dags/TEST_DAG_ID/dagRuns/INVALID/taskInstances/TEST_SINGLE_LINK/links" ,
136
- 404 ,
137
- {"detail" : "DAG Run with ID = INVALID not found" },
138
- id = "missing_dag_run" ,
139
- ),
140
134
pytest .param (
141
135
"/dags/TEST_DAG_ID/dagRuns/TEST_DAG_RUN_ID/taskInstances/INVALID/links" ,
142
136
404 ,
You can’t perform that action at this time.
0 commit comments