'update group, but volume is not in LSS which belongs to group.'

@mock.patch.object(eventlet, 'sleep')
@mock.patch.object(helper.DS8KCommonHelper, 'get_flashcopy')
@mock.patch.object(helper.DS8KCommonHelper, '_create_lun')
@mock.patch.object(helper.DS8KCommonHelper, 'lun_exists')
def test_update_generic_group_when_enable_cg(self, mock_lun_exists, mock_create_lun, mock_get_flashcopy, mock_sleep):

    self.configuration.lss_range_for_cg = '20-23'
    self.driver = FakeDS8KProxy(self.storage_info, self.logger, self.exception, self)
    self.driver.setup(self.ctxt)
    group_type = group_types.create(self.ctxt, 'group', {'consistent_group_snapshot_enabled': '<is>    True'})
    group = self._create_group(host=TEST_GROUP_HOST, group_type_id=group_type.id)
    location = six.text_type({'vol_hex_id': TEST_VOLUME_ID})
    metadata = [{'key': 'data_type', 'value': 'FB    512'}]
    volume = self._create_volume(provider_location=location, volume_metadata=metadata)
    mock_get_flashcopy.side_effect = [[TEST_FLASHCOPY], {}]
    mock_create_lun.return_value = '2200'
    mock_lun_exists.return_value = True
    (model_update, add_volumes_update, remove_volumes_update) = self.driver.update_group(self.ctxt, group, [volume], [])
    location = ast.literal_eval(add_volumes_update[0]['provider_location'])
    self.assertEqual('2200', location['vol_hex_id'])
