示例#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')