def _init_ssh_client(self, host, username, password): return netapp_api.SSHUtil(host=host, username=username, password=password)
def setUp(self): super(SSHUtilTests, self).setUp() self.mock_object(netapp_api.SSHUtil, '_init_ssh_pool') self.sshutil = netapp_api.SSHUtil('127.0.0.1', 'fake_user', 'fake_password')