MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_set_and_get

Method test_set_and_get

tests/test_file_state_cache.py:22–26  ·  view source on GitHub ↗
(self, cache)

Source from the content-addressed store, hash-verified

20
21 @pytest.mark.asyncio
22 async def test_set_and_get(self, cache):
23 await cache.set("/tmp/test.txt", "hello world")
24 result = await cache.get("/tmp/test.txt", read_through=False)
25 assert result == "hello world"
26 assert cache.size == 1
27
28 @pytest.mark.asyncio
29 async def test_invalidate(self, cache):

Callers

nothing calls this directly

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected