MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / test_default_created_at

Method test_default_created_at

tests/test_request_cache.py:16–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 """Test CacheEntry dataclass"""
15
16 def test_default_created_at(self) -> None:
17 entry = CacheEntry(response={"success": True})
18 assert entry.created_at > 0
19 assert entry.created_at <= time.time()
20
21 def test_is_expired_false(self) -> None:
22 entry = CacheEntry(response={"success": True})

Callers

nothing calls this directly

Calls 1

CacheEntryClass · 0.90

Tested by

no test coverage detected