@mock.patch.object(rest_client.KioxiaProvisioner, 'get_info')
def test_get_kumoscale(self, mock_get_info):
    mock_get_info.return_value = success_prov_response
    result = self.driver._get_kumoscale('https://1.2.3.4:8090', 'token', 'cert')
    self.assertEqual(result.mgmt_ips, ['1.2.3.4'])
    self.assertEqual(result.port, '8090')
    self.assertEqual(result.token, 'token')
@mock.patch.object(rest_client.KioxiaProvisioner, 'get_info')
def test_get_kumoscale(self, mock_get_info):
    mock_get_info.return_value = success_prov_response
    result = self.driver._get_kumoscale('https://1.2.3.4:8090', 'token', 'cert')
    self.assertEqual(result.mgmt_ips, ['1.2.3.4'])
    self.assertEqual(result.port, '8090')
    self.assertEqual(result.token, 'token')