'Test create group snapshot.'

def test_create_group_snapshot(self, req):

    req.side_effect = xms_request
    d = self.data
    snapshot_obj = fake_snapshot.fake_snapshot_obj(d.context)
    snapshot_obj.consistencygroup_id = d.group['id']
    self.driver.create_group(d.context, d.group)
    self.driver.update_group(d.context, d.group, add_volumes=[d.test_volume, d.test_volume2])
    res = self.driver.create_group_snapshot(d.context, d.cgsnapshot, [snapshot_obj])
    self.assertEqual((None, None), res)
