From c6d2925adde8a1e9ecbc927a3c4c1df19b1292ff Mon Sep 17 00:00:00 2001 From: Farid Yagubbayli Date: Tue, 12 Nov 2024 18:09:25 +0100 Subject: [PATCH] Fix test --- tests/test_executor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_executor.py b/tests/test_executor.py index f65f37d8..b3414fea 100644 --- a/tests/test_executor.py +++ b/tests/test_executor.py @@ -193,6 +193,7 @@ def test_executor_gpu_cuda_failure_darwin(self): # Configure the mock path object mock_binary_path = MagicMock(spec=Path) mock_binary_path.chmod.side_effect = FileNotFoundError + mock_binary_path.exists.return_value = False # Mock the execution options to use the mocked path mock_execution_options = MagicMock()