MCPcopy
hub / github.com/MemPalace/mempalace / test_load_from_nonexistent_dir

Function test_load_from_nonexistent_dir

tests/test_entity_registry.py:48–53  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

46
47
48def test_load_from_nonexistent_dir(tmp_path):
49 registry = EntityRegistry.load(config_dir=tmp_path)
50 assert registry.people == {}
51 assert registry.projects == []
52 assert registry.mode == "personal"
53 assert registry.ambiguous_flags == []
54
55
56def test_save_and_load_roundtrip(tmp_path):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected