ephraimbuddy commented on code in PR #53699:
URL: https://github.com/apache/airflow/pull/53699#discussion_r2231193418
##########
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:
Merging this and would add the call count if you prefer it
--
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]