def test_get(self): stat_obj = Stat('test_stat', self.resq) stat_obj.incr() stat_obj.incr() assert stat_obj.get() == 2