MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / test_remove

Method test_remove

tests/test_scene_store.py:109–114  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

107 assert store.get("INTIMATE") is not None
108
109 def test_remove(self, tmp_path):
110 store = self._make_store(tmp_path)
111 store.add(SceneConfig(name="test", primary="a/b"))
112 assert store.remove("test") is True
113 assert store.get("test") is None
114 assert store.remove("nonexistent") is False
115
116 def test_list_sorted(self, tmp_path):
117 store = self._make_store(tmp_path)

Callers

nothing calls this directly

Calls 5

_make_storeMethod · 0.95
SceneConfigClass · 0.90
removeMethod · 0.80
addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected