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

Method test_forget_nonexistent

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

Source from the content-addressed store, hash-verified

104
105 @pytest.mark.asyncio
106 async def test_forget_nonexistent(self, store: MemoryScopeStore):
107 result = await handle_memory_tool(
108 store, "forget", {"scope": "global", "key": "nope"}
109 )
110 assert "No memory with key" in result
111
112 @pytest.mark.asyncio
113 async def test_unknown_tool(self, store: MemoryScopeStore):

Callers

nothing calls this directly

Calls 1

handle_memory_toolFunction · 0.90

Tested by

no test coverage detected