kunaljubce commented on code in PR #62758:
URL: https://github.com/apache/airflow/pull/62758#discussion_r2876180544
##########
providers/standard/tests/unit/standard/utils/test_skipmixin.py:
##########
@@ -106,7 +110,7 @@ def test_skip_none_tasks(self):
else:
session = Mock()
assert SkipMixin().skip(dag_run=None, execution_date=None,
tasks=[]) is None
- assert not session.query.called
+ assert not session.scalars.called
Review Comment:
Change done to align with
https://github.com/apache/airflow/blob/v2-11-stable/airflow/models/skipmixin.py#L149
--
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]