Adapt the test case to saltstack/salt@70b26f30b. Refs #4822

This commit is contained in:
Pedro Algarvio 2013-09-05 23:33:06 +01:00
parent a3a8707d4a
commit 071917369f

View File

@ -92,7 +92,7 @@ class SSHModuleTest(integration.ModuleCase):
'''
Check that known host information is returned from remote host
'''
ret = self.run_function('ssh.recv_known_host', ['root', 'github.com'])
ret = self.run_function('ssh.recv_known_host', ['github.com'])
try:
self.assertNotEqual(ret, None)
self.assertEqual(ret['enc'], 'ssh-rsa')