From 22a03cfa64981140e33696a5f7e72cba2b54836c Mon Sep 17 00:00:00 2001 From: Jens Scheffler Date: Tue, 17 Dec 2024 17:36:28 +0100 Subject: [PATCH] Fix pytest backcompat --- providers/tests/edge/cli/test_edge_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/tests/edge/cli/test_edge_command.py b/providers/tests/edge/cli/test_edge_command.py index 42ea1cd7fa5ff..c6f1d69fe191e 100644 --- a/providers/tests/edge/cli/test_edge_command.py +++ b/providers/tests/edge/cli/test_edge_command.py @@ -137,7 +137,7 @@ def worker_with_job(self, tmp_path: Path, dummy_joblist: list[_Job]) -> _EdgeWor @patch("airflow.providers.edge.cli.edge_command.Process") @patch("airflow.providers.edge.cli.edge_command.logs_logfile_path") - @patch("subprocess.Popen") + @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"] mock_process_instance = MagicMock()