diff --git a/src/deadline_worker_agent/sessions/actions/run_attachment_download.py b/src/deadline_worker_agent/sessions/actions/run_attachment_download.py index 930d6b76..6dbe5277 100644 --- a/src/deadline_worker_agent/sessions/actions/run_attachment_download.py +++ b/src/deadline_worker_agent/sessions/actions/run_attachment_download.py @@ -116,7 +116,7 @@ def set_step_script(self, manifests, s3_settings) -> None: self._step_script = StepScript_2023_09( actions=StepActions_2023_09( onRun=Action_2023_09( - command=python_path, + command=str(python_path), args=args, ) ), diff --git a/src/deadline_worker_agent/sessions/actions/run_attachment_upload.py b/src/deadline_worker_agent/sessions/actions/run_attachment_upload.py index fe7ba6d9..011ccaf3 100644 --- a/src/deadline_worker_agent/sessions/actions/run_attachment_upload.py +++ b/src/deadline_worker_agent/sessions/actions/run_attachment_upload.py @@ -89,7 +89,7 @@ def set_step_script(self, manifests, s3_settings) -> None: self._step_script = StepScript_2023_09( actions=StepActions_2023_09( onRun=Action_2023_09( - command=python_path, + command=str(python_path), args=args, ) ), diff --git a/test/unit/sessions/actions/test_run_attachment_download.py b/test/unit/sessions/actions/test_run_attachment_download.py index 59137b4e..ced95dd3 100644 --- a/test/unit/sessions/actions/test_run_attachment_download.py +++ b/test/unit/sessions/actions/test_run_attachment_download.py @@ -111,10 +111,6 @@ def mock_asset_sync(self, session: Mock) -> Generator[MagicMock, None, None]: with patch.object(session, "_asset_sync") as mock_asset_sync: yield mock_asset_sync - @pytest.mark.skipif( - sys.platform == "win32", - reason="Failed in windows due to embeddedFiles.data quotation mark, which will be replaced by python embedded file soon.", - ) def test_attachment_download_action_start( self, executor: Mock,