From c3d764c4a27f5cdbfe6b6a3891c044061e6d03a7 Mon Sep 17 00:00:00 2001
From: Jithu Murugan <j.murugan@fz-juelich.de>
Date: Wed, 5 Mar 2025 15:21:30 +0100
Subject: [PATCH] - Corrected the failing tests.

---
 dedal/spack_factory/SpackOperation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dedal/spack_factory/SpackOperation.py b/dedal/spack_factory/SpackOperation.py
index 7814cc8..ad4f238 100644
--- a/dedal/spack_factory/SpackOperation.py
+++ b/dedal/spack_factory/SpackOperation.py
@@ -220,7 +220,7 @@ class SpackOperation:
         result = self.command_runner.run_preconfigured_command_sequence(
             PreconfiguredCommandEnum.SPACK_MIRROR_ADD,
             self.spack_setup_script,
-            "" if global_mirror else self.env_path,
+            "" if global_mirror else str(self.env_path),
             mirror_name,
             mirror_path,
             autopush,
-- 
GitLab