Jorricks commented on a change in pull request #16634:
URL: https://github.com/apache/airflow/pull/16634#discussion_r708347767



##########
File path: tests/www/views/test_views_tasks.py
##########
@@ -594,6 +622,38 @@ def _get_appbuilder_pk_string(model_view_cls, instance) -> 
str:
     return model_view_cls._serialize_pk_if_composite(model_view_cls, pk_value)
 
 
[email protected](scope="function")
+def task_instance_to_delete(session):
+    dag = DagBag().get_dag("example_bash_operator")
+    task0 = dag.get_task("runme_0")
+    task0.task_id = "test_task_instance_to_delete"
+    execution_date = timezone.datetime(2021, 6, 26)
+    ti = TaskInstance(task0, execution_date, state="success")

Review comment:
       Thanks a lot for pinpointing that!!!! I will see if I can spend some 
time to fix the tests this week.




-- 
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]


Reply via email to