'UID comparisons operate successfully.'

def testUIDParse(self):

    filt = filters.StatFilter()
    obj1 = self._GenStat(st_uid=1001)
    obj2 = self._GenStat(st_uid=5000)
    objs = [obj1, obj2]
    results = filt.Parse(objs, 'uid:=0')
    self.assertFalse(results)
    results = filt.Parse(objs, 'uid:=1001')
    self.assertItemsEqual([obj1], results)
    results = filt.Parse(objs, 'uid:>=0')
    self.assertItemsEqual(objs, results)
    results = filt.Parse(objs, 'uid:>0')
    self.assertItemsEqual(objs, results)
    results = filt.Parse(objs, 'uid:>0,<=5000')
    self.assertItemsEqual(objs, results)
    results = filt.Parse(objs, 'uid:>0,<5000')
    self.assertItemsEqual([obj1], results)
    results = filt.Parse(objs, 'uid:!5000')
    self.assertItemsEqual([obj1], results)
