'Lun is deleted successfully.'

def test_delete_lun(self):

    response = {'success': True, 'msg': 'Delete    resource    successfully'}
    success_msgs = ['Delete    resource    successfully', '']
    conf = {'lun.delete_lun.return_value': response}
    self.driver.vmem_mg = self.setup_mock_concerto(m_conf=conf)
    self.driver._send_cmd = mock.Mock(return_value=response)
    self.driver._delete_lun_snapshot_bookkeeping = mock.Mock()
    result = self.driver._delete_lun(VOLUME)
    self.driver._send_cmd.assert_called_with(self.driver.vmem_mg.lun.delete_lun, success_msgs, VOLUME['id'])
    self.driver._delete_lun_snapshot_bookkeeping.assert_called_with(VOLUME['id'])
    self.assertIsNone(result)
