mirror of
https://github.com/rjNemo/pass-gen
synced 2026-06-06 02:26:42 +00:00
13 lines
287 B
Python
13 lines
287 B
Python
from __future__ import annotations
|
|
|
|
|
|
class FakeRepository:
|
|
def save(self, password: str) -> None:
|
|
...
|
|
|
|
def list_all(self) -> list[str]:
|
|
return ["2yW4AcqG", "iK2ZWeqh"]
|
|
|
|
@classmethod
|
|
def get_instance(cls) -> FakeRepository:
|
|
return FakeRepository()
|