def test_init(self, mock_conn, mock_set):
sshclient.SSHClient('ip', 'username', 'password')
mock_conn.assert_called_with(
'ip', username='username', password='password', pkey=None,
key_filename=None, look_for_keys=False, allow_agent=False)
评论列表
文章目录