utkarsharma2 commented on code in PR #43572:
URL: https://github.com/apache/airflow/pull/43572#discussion_r1825490764
##########
tests/www/views/test_views_dagrun.py:
##########
@@ -290,3 +290,79 @@ def test_dag_runs_queue_new_tasks_action(session,
admin_client, completed_dag_ru
check_content_in_response("runme_2", resp)
check_content_not_in_response("runme_1", resp)
assert resp.status_code == 200
+
+
[email protected]
+def dag_run_with_all_done_task(session):
+ """Creates a DAG run for example_bash_decorator with tasks in various
states and an ALL_DONE task not yet run."""
+ dag = DagBag().get_dag("example_bash_decorator")
+
+ # Re-sync the DAG to the DB
+ dag.sync_to_db()
+
+ execution_date = timezone.datetime(2016, 1, 9)
+ triggered_by_kwargs = {"triggered_by": DagRunTriggeredByType.TEST} if
AIRFLOW_V_3_0_PLUS else {}
Review Comment:
Yup, `AIRFLOW_V_3_0_PLUS` doesn't exist in this branch.
--
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]