A `SessionMemoryStores` with one store already downloaded to disk.
(tmp_path: Path, initial: dict[str, str])
| 22 | |
| 23 | |
| 24 | async def _downloaded(tmp_path: Path, initial: dict[str, str]) -> tuple[Path, MemoryServer, SessionMemoryStores]: |
| 25 | """A `SessionMemoryStores` with one store already downloaded to disk.""" |
| 26 | client, server = fake_anthropic(initial) |
| 27 | stores = SessionMemoryStores(client, workdir=tmp_path) |
| 28 | await stores.download(await client.beta.sessions.retrieve("s1")) |
| 29 | return tmp_path / "memory" / "notes", server, stores |
| 30 | |
| 31 | |
| 32 | @pytest.mark.asyncio() |
no test coverage detected