예제 #1
0
 def test_expired(self):
     cache = Memory()
     cache.set('test', 'value', -1)
     assert cache.expired('test')
예제 #2
0
 def test_expired(self):
     cache = Memory()
     cache.set('test', 'value', -1)
     assert cache.expired('test')