From 567de639fff07e979ab73ede1ac1a19e45a05675 Mon Sep 17 00:00:00 2001
From: lukas leufen <l.leufen@fz-juelich.de>
Date: Thu, 18 Jun 2020 16:33:13 +0200
Subject: [PATCH] still failing on CI, another fix

---
 test/test_configuration/test_path_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_configuration/test_path_config.py b/test/test_configuration/test_path_config.py
index 27b2d32d..b27eae67 100644
--- a/test/test_configuration/test_path_config.py
+++ b/test/test_configuration/test_path_config.py
@@ -30,7 +30,7 @@ class TestPrepareHost:
         assert "unknown host 'NotExistingHostName'" in e.value.args[0]
 
     @mock.patch("getpass.getuser", return_value="zombie21")
-    @mock.patch("src.configuration.check_path_and_create", side_effect=PermissionError)
+    @mock.patch("src.configuration.path_config.check_path_and_create", side_effect=PermissionError)
     @mock.patch("os.path.exists", return_value=False)
     def test_error_handling(self, mock_path_exists, mock_cpath, mock_user):
         # if "runner-6HmDp9Qd-project-2411-concurrent" not in platform.node():
-- 
GitLab