diff --git a/tests/test_ssh_client.py b/tests/test_ssh_client.py index 4a955e63..16c9ef72 100644 --- a/tests/test_ssh_client.py +++ b/tests/test_ssh_client.py @@ -328,7 +328,8 @@ def test_openssh_config(self): del _server, _listen_socket def test_openssh_config_missing(self): - client = SSHClient(self.host, _openssh_config_file='fake', num_retries=1) + client = SSHClient(self.host, port=self.listen_port, + _openssh_config_file='fake', num_retries=1) self.assertTrue(client) if __name__ == '__main__':