'Test that delete_group_snapshot return successfully.'

def test_delete_group_snapshot(self):

    self.driver.do_setup(None)
    ctxt = context.get_admin_context()
    self.driver.create_group(ctxt, GROUP)
    self.driver.create_volume(GROUP_VOLUME)
    self.driver.create_group_snapshot(ctxt, GROUP_SNAPSHOT, [GROUP_VOLUME])
    (model_update, snapshots) = self.driver.delete_group_snapshot(ctxt, GROUP_SNAPSHOT, [GROUP_VOLUME])
    self.assertEqual(fields.GroupSnapshotStatus.DELETED, model_update['status'], 'Group    Snapshot    deleted    failed')
    for snap in snapshots:
        self.assertEqual('deleted', snap['status'])
    self.driver.delete_group(ctxt, GROUP, [GROUP_VOLUME])
