We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e849e commit 5485a05Copy full SHA for 5485a05
pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_process.py
@@ -105,7 +105,7 @@ def test_remote_from_name(monkeypatch: MonkeyPatch) -> None:
105
106
# get_qualified_name doesn't work because getpass is aliased to another
107
# function
108
- with patch(f"{p.__name__}.getpass", return_value="password"):
+ with patch(f"{p.__name__}.getpass", autospec=True, return_value="password"):
109
monkeypatch.setenv("NIX_SSHOPTS", "-f foo -b bar -t")
110
assert m.Remote.from_arg("user@localhost", True, True) == m.Remote(
111
"user@localhost",
0 commit comments