This commit is contained in:
mcarton
2015-08-19 11:00:09 +02:00
parent 85647794dc
commit 49917ce6b4
8 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def test_match(ssh_error):
def test_side_effect(ssh_error):
errormsg, path, reset, known_hosts = ssh_error
command = Command('ssh user@host', stderr=errormsg)
side_effect(command, None)
side_effect(command, None, None)
expected = ['123.234.567.890 asdjkasjdakjsd\n', '111.222.333.444 qwepoiwqepoiss\n']
assert known_hosts(path) == expected