(self, tmp_path: Path)
| 143 | assert store_b.list_entries(MemoryScope.WORKSPACE)[0].content == "flask" |
| 144 | |
| 145 | def test_global_shared(self, tmp_path: Path): |
| 146 | store_a = MemoryScopeStore(base_dir=tmp_path, workspace_dir="/project/a") |
| 147 | store_b = MemoryScopeStore(base_dir=tmp_path, workspace_dir="/project/b") |
| 148 | |
| 149 | store_a.remember(MemoryScope.GLOBAL, "editor", "vim") |
| 150 | |
| 151 | entries = store_b.list_entries(MemoryScope.GLOBAL) |
| 152 | assert len(entries) == 1 |
| 153 | assert entries[0].content == "vim" |
| 154 | |
| 155 | |
| 156 | class TestMaxEntries: |
nothing calls this directly
no test coverage detected