jscheffl commented on code in PR #45008:
URL: https://github.com/apache/airflow/pull/45008#discussion_r1890258020


##########
providers/tests/edge/cli/test_edge_command.py:
##########
@@ -116,6 +135,28 @@ def worker_with_job(self, tmp_path: Path, dummy_joblist: 
list[_Job]) -> _EdgeWor
         test_worker.jobs = dummy_joblist
         return test_worker
 
+    @patch("airflow.providers.edge.cli.edge_command.Process")
+    @patch("airflow.providers.edge.cli.edge_command.logs_logfile_path")
+    @patch("airflow.providers.edge.cli.edge_command.Popen")
+    def test_launch_job(self, mock_popen, mock_logfile_path, mock_process, 
worker_with_job: _EdgeWorkerCli):
+        mock_popen.side_effect = ["dummy"]

Review Comment:
   Thanks, will apply on base PR branch



-- 
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]

Reply via email to