

def _check_limit(self, name, curvalue, maxvalue):
    l = self.user.userobjectlimit_set.get(name=name)
    name.assertEqual(l.current_value, curvalue)
    self.assertEqual(l.max_value, maxvalue)

dataset/ETHPy150Open tonioo/modoboa/modoboa/limits/tests/test_user_limits.py ResourceTestCase._check_limit/VarMisuse@31/40 `self`->`name`