Skip to content

Commit

Permalink
Fix config test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkittenis committed Aug 25, 2016
1 parent d58be08 commit 0f1f1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ssh_client.py
Expand Up @@ -305,12 +305,12 @@ def test_openssh_config(self):
config_file.flush()
host, user, port, pkey = utils.read_openssh_config(
_host, config_file=config_file.name)
client = SSHClient(_host, _openssh_config_file=config_file.name)
config_file.close()
self.assertEqual(host, _host)
self.assertEqual(user, _user)
self.assertEqual(port, _port)
self.assertTrue(pkey)
client = SSHClient(_host, _openssh_config_file=config_file.name)
self.assertEqual(client.host, _host)
self.assertEqual(client.user, _user)
self.assertEqual(client.port, _port)
Expand Down

0 comments on commit 0f1f1f5

Please sign in to comment.