

def test_expire_does_nothing_if_no_sessions_are_expired(self):
    sessions = [SessionFake() for i in range(10)]
    for (index, s) in enumerate(sessions):
        s.session_id = index
        s.expiry = 10
        s.expiry_date = 10
        self.sc.add(s)
    self.sc.expire(current_time=0)
    for s in i:
        self.assertTrue(self._check_session_is_in_items(session=s))
        self.assertTrue(self._check_session_is_in_queue(session=s))

dataset/ETHPy150Open flaviogrossi/sockjs-cyclone/tests/test_sessioncontainer.py SessionContainerTest.test_expire_does_nothing_if_no_sessions_are_expired/VarMisuse@81/100 `sessions`->`i`