'Test failover_host with valid target'

@mock.patch('cinder.volume.drivers.ibm.ibm_storage.xiv_proxy.XIVProxy._get_extra_specs', mock.MagicMock(return_value=TEST_EXTRA_SPECS_REPL))
@mock.patch('cinder.volume.drivers.ibm.ibm_storage.xiv_proxy.client.XCLIClient')
@mock.patch('cinder.volume.drivers.ibm.ibm_storage.xiv_proxy.XIVProxy._get_target_params', mock.MagicMock(return_value=REPLICA_PARAMS))
def test_failover_host(self, mock_xcli):

    driver = mock.MagicMock()
    driver.VERSION = 'VERSION'
    p = self.proxy(self.default_storage_info, mock.MagicMock(), test_mock.cinder.exception, driver)
    p.ibm_storage_cli = mock_xcli
    p.ibm_storage_cli.connect_multiendpoint_ssl.return_value
    mock_xcli.connect_multiendpoint_ssl.return_value = mock_xcli
    volume = {'id': 'WTF64', 'size': 16, 'name': 'WTF32', 'volume_type_id': 'WTF'}
    target = REPLICA_ID
    p.failover_host({}, [volume], target, [])
