コード例 #1
0
ファイル: test_storage.py プロジェクト: watsonpy/watson-cache
 def test_expired(self):
     cache = Memory()
     cache.set('test', 'value', -1)
     assert cache.expired('test')
コード例 #2
0
ファイル: test_storage.py プロジェクト: enigma/watson
 def test_expired(self):
     cache = Memory()
     cache.set('test', 'value', -1)
     assert cache.expired('test')