This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user