ferruzzi commented on code in PR #62645: URL: https://github.com/apache/airflow/pull/62645#discussion_r3075456579
########## airflow-core/tests/unit/executors/test_local_executor.py: ########## @@ -54,6 +55,17 @@ ) +def _make_mock_task_workload(): + """Create a MagicMock that passes isinstance checks for ExecuteTask and has required attributes.""" + task_workload = mock.MagicMock(spec=workloads.ExecuteTask) Review Comment: That's fair, I think I had planned on doing a bit more with it and decided it was redundant. Switched to an actual object. -- 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]
