milton0825 commented on a change in pull request #8852:
URL: https://github.com/apache/airflow/pull/8852#discussion_r439144139
##########
File path: tests/models/test_dagrun.py
##########
@@ -564,6 +565,27 @@ def with_all_tasks_removed(dag):
flaky_ti.refresh_from_db()
self.assertEqual(State.NONE, flaky_ti.state)
+ @mock.patch('airflow.models.dagrun.task_instance_mutation_hook')
Review comment:
Testing that probably won't add too much value as the logic is not based
on the state of TI.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]