Feat: Add FakeTribeRepository

This commit is contained in:
2022-12-26 07:03:52 +01:00
parent 5735d344c5
commit 6f486a6f3c
2 changed files with 35 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ class AbstractRepository(abc.ABC):
raise NotImplementedError
@abc.abstractmethod
def update(self, element):
def update(self, reference, element):
raise NotImplementedError
@abc.abstractmethod
@@ -19,5 +19,5 @@ class AbstractRepository(abc.ABC):
raise NotImplementedError
@abc.abstractmethod
def delete(self, reference):
def delete(self, element):
raise NotImplementedError