uranusjr commented on code in PR #53699:
URL: https://github.com/apache/airflow/pull/53699#discussion_r2230628286
##########
airflow-core/tests/unit/cli/commands/test_dag_command.py:
##########
@@ -813,7 +813,7 @@ def test_dag_test_with_custom_timetable(self,
mock__get_or_create_dagrun):
)
from airflow.example_dags.plugins.workday import AfterWorkdayTimetable
- with mock.patch.object(AfterWorkdayTimetable, "get_next_workday",
side_effect=[DEFAULT_DATE]):
+ with mock.patch.object(AfterWorkdayTimetable, "get_next_workday",
return_value=DEFAULT_DATE):
Review Comment:
Should we expect exactly how many calls it should be called?
--
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]