Skip to content

Commit

Permalink
Fix pytest backcompat
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheffl committed Dec 17, 2024
1 parent 7d10ad9 commit 22a03cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/tests/edge/cli/test_edge_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 22a03cf

Please sign in to comment.