'Test group update.'

def test_group_update(self, req):

    req.side_effect = xms_request
    d = self.data
    self.driver.create_consistencygroup(d.context, d.group)
    self.driver.update_consistencygroup(d.context, d.group, add_volumes=[d.test_volume, d.test_volume2])
    self.assertEqual(2, len(xms_data['consistency-group-volumes']))
    self.driver.update_group(d.context, d.group, remove_volumes=[d.test_volume2])
    self.assertEqual(1, len(xms_data['consistency-group-volumes']))
