MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_recall_by_query

Method test_recall_by_query

tests/memory/test_tools.py:89–95  ·  view source on GitHub ↗
(self, store: MemoryScopeStore)

Source from the content-addressed store, hash-verified

87
88 @pytest.mark.asyncio
89 async def test_recall_by_query(self, store: MemoryScopeStore):
90 store.remember(MemoryScope.WORKSPACE, "framework", "FastAPI is used here")
91
92 result = await handle_memory_tool(
93 store, "recall", {"scope": "workspace", "query": "fastapi"}
94 )
95 assert "framework" in result
96
97 @pytest.mark.asyncio
98 async def test_forget_existing(self, store: MemoryScopeStore):

Callers

nothing calls this directly

Calls 2

handle_memory_toolFunction · 0.90
rememberMethod · 0.80

Tested by

no test coverage detected