'Delete volume should call xcli with the correct parameters'

def test_delete_volume_should_pass_the_correct_parameters(self):

    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.MagicMock()
    p.ibm_storage_cli.cmd.vol_list.return_value.as_list = ['aa']
    p.delete_volume({'name': 'WTF32'})
    p.ibm_storage_cli.cmd.vol_delete.assert_called_once_with(vol='WTF32')
