def verify(inputhashes, **kwargs):
    """
    Checks if the group specified is present with the exact matching
    configuration provided.
    """
    failed = []
    for group in inputhashes:
        name = group['name']
        try:
            result = grp.getgrnam(name)
            if 'gid' in group:
                if int(group['gid']) != result.gr_gid:
                    raise VerifyError
        except __HOLE__, VerifyError:
            failed.append(group)

    return failed
dataset/ETHPy150Open gosquadron/squadron/squadron/libraries/group/__init__.py/verify