MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / setUp

Method setUp

test/test_expiring_local_cache.py:35–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33class TestExpiringLocalCache(unittest.TestCase):
34
35 def setUp(self):
36 self.cache = ExpiringLocalCache(cron_interval=10)
37
38 def test_set_and_get(self):
39 self.cache.set('key', 'value', 10)

Callers

nothing calls this directly

Calls 1

ExpiringLocalCacheClass · 0.90

Tested by

no test coverage detected