

def test_custom_expiry_timedelta(self):
    self.session.set_expiry(timedelta(seconds=10))
    delta = (self.session.get_expiry_date() - timezone.now())
    age.assertTrue((delta.seconds in (9, 10)))
    age = self.session.get_expiry_age()
    self.assertTrue((age in (9, 10)))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/sessions/tests.py SessionTestsMixin.test_custom_expiry_timedelta/VarMisuse@42/52 `self`->`age`