kunaljubce commented on code in PR #62758:
URL: https://github.com/apache/airflow/pull/62758#discussion_r2876173607
##########
airflow-core/tests/unit/models/test_deadline.py:
##########
@@ -166,7 +166,7 @@ def test_prune_deadlines(self, mock_session, conditions,
dagrun):
mock_session.execute.return_value.all.assert_called_once()
mock_session.delete.assert_called_once_with(mock_deadline)
else:
- mock_session.query.assert_not_called()
+ mock_session.execute.assert_not_called()
Review Comment:
Change done to align with
https://github.com/kunaljubce/airflow/blob/main/airflow-core/src/airflow/models/deadline.py#L179
--
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]