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

Method test_existing

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

Source from the content-addressed store, hash-verified

87
88class TestForget:
89 def test_existing(self, store: MemoryScopeStore):
90 store.remember(MemoryScope.GLOBAL, "temp", "delete me")
91 assert store.forget(MemoryScope.GLOBAL, "temp") is True
92 assert store.list_entries(MemoryScope.GLOBAL) == []
93
94 def test_nonexistent(self, store: MemoryScopeStore):
95 assert store.forget(MemoryScope.GLOBAL, "nope") is False

Callers

nothing calls this directly

Calls 3

rememberMethod · 0.80
forgetMethod · 0.80
list_entriesMethod · 0.80

Tested by

no test coverage detected