MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / test_cache

Method test_cache

inference/test/test_others.py:13–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 @pytest.mark.asyncio
12 @pytest.mark.test_id("inference_020")
13 async def test_cache(self):
14 result = await caches()
15 assert result.status_code == 200, f"test_cache failed: result={result}"
16 assert result.json()["status"] == "success"
17 assert set(self.caches_keys_list).issubset(result.json()["data"].keys())
18
19 @pytest.mark.asyncio
20 @pytest.mark.test_id("inference_021")

Callers

nothing calls this directly

Calls 2

cachesFunction · 0.85
jsonMethod · 0.45

Tested by

no test coverage detected