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

Method test_creates_entry

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

Source from the content-addressed store, hash-verified

16
17class TestRemember:
18 def test_creates_entry(self, store: MemoryScopeStore):
19 entry = store.remember(MemoryScope.GLOBAL, "framework", "pytest")
20 assert entry.key == "framework"
21 assert entry.content == "pytest"
22 assert entry.created_at is not None
23 assert entry.updated_at is not None
24
25 def test_upserts_existing(self, store: MemoryScopeStore):
26 store.remember(MemoryScope.GLOBAL, "db", "sqlite")

Callers

nothing calls this directly

Calls 1

rememberMethod · 0.80

Tested by

no test coverage detected