'GID comparisons operate successfully.'

def testGIDParse(self):

    filt = filters.StatFilter()
    obj1 = self._GenStat(st_gid=0)
    obj2 = self._GenStat(st_gid=500)
    obj3 = self._GenStat(st_gid=5000)
    objs = [obj1, obj2, obj3]
    results = filt.Parse(objs, 'gid:=0')
    self.assertItemsEqual([obj1], results)
    results = filt.Parse(objs, 'gid:>=0')
    self.assertItemsEqual(objs, results)
    results = filt.Parse(objs, 'gid:>0')
    self.assertItemsEqual([obj2, obj3], results)
    results = filt.Parse(objs, 'gid:>0,<=5000')
    self.assertItemsEqual([obj2, obj3], results)
    results = filt.Parse(objs, 'gid:>0,<5000')
    self.assertItemsEqual([obj2], results)
    results = filt.Parse(objs, 'gid:!5000')
    self.assertItemsEqual([obj1, obj2], results)
