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

Method test_forget_existing

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

Source from the content-addressed store, hash-verified

96
97 @pytest.mark.asyncio
98 async def test_forget_existing(self, store: MemoryScopeStore):
99 store.remember(MemoryScope.GLOBAL, "temp", "delete")
100 result = await handle_memory_tool(
101 store, "forget", {"scope": "global", "key": "temp"}
102 )
103 assert "Forgot 'temp'" in result
104
105 @pytest.mark.asyncio
106 async def test_forget_nonexistent(self, store: MemoryScopeStore):

Callers

nothing calls this directly

Calls 2

handle_memory_toolFunction · 0.90
rememberMethod · 0.80

Tested by

no test coverage detected