test(podcasts): add exists to fake storage backend

This commit is contained in:
CREDO23 2026-06-16 19:12:09 +02:00
parent 1d70af4684
commit 86a8833fb4

View file

@ -120,6 +120,9 @@ class FakeStorageBackend:
async def open_stream(self, key: str) -> AsyncIterator[bytes]:
yield self.objects.get(key, b"audio-bytes")
async def exists(self, key: str) -> bool:
return key in self.objects
async def delete(self, key: str) -> None:
self.deleted.append(key)