From ffe9984e53a3519786539d14f029f31f4972dbee Mon Sep 17 00:00:00 2001
From: Jithu Murugan <j.murugan@fz-juelich.de>
Date: Fri, 21 Feb 2025 16:23:00 +0100
Subject: [PATCH] - Corrected the failing unit tests and minor refactorings.

---
 dedal/tests/unit_tests/test_bash_command_executor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dedal/tests/unit_tests/test_bash_command_executor.py b/dedal/tests/unit_tests/test_bash_command_executor.py
index 368d5136..e216cc0f 100644
--- a/dedal/tests/unit_tests/test_bash_command_executor.py
+++ b/dedal/tests/unit_tests/test_bash_command_executor.py
@@ -208,7 +208,7 @@ class TestBashCommandExecutor:
     def test_execute_unknown_os(self, mocker):
         # Arrange
         errors = {
-            "posix": "Error: Bash Command: ['undefined'] not found: [Errno 2] No such file or directory",
+            "posix": "Error: Bash Command: ['undefined'] not found: [Errno 2] No such file or directory: 'undefined'",
             "nt": "Error: Bash Command: ['undefined'] not found: [WinError 2] The system cannot find the file "
                   'specified'
         }
-- 
GitLab