Update tests/test_utils_elog.py
Run CI Tests / test (push) Failing after 57s

This commit is contained in:
2025-08-06 20:16:37 +02:00
parent 95b4c5114a
commit 5fb59bd19f
+2 -2
View File
@@ -27,8 +27,8 @@ def test_get_default_elog_instance_with_direct_password_and_real_check():
assert r.status_code == 200
assert "demo" in r.text.lower()
@patch("your_module.elog_wrapper.getpass")
@patch("your_module.elog_wrapper.Path.home")
@patch("slic.utils.elog.getpass")
@patch("slic.utils.elog.Path.home")
def test_get_default_elog_instance_asks_password_and_opens(mock_home, mock_getpass):
mock_home.return_value = Path("/does/not/exist")