feat: Semaine 8
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from domain.entities import Alert
|
||||
|
||||
class FakeNotifier:
|
||||
def __init__(self):
|
||||
self.alerts_sent: list[Alert] = []
|
||||
|
||||
def send_alert(self, alert: Alert):
|
||||
self.alerts_sent.append(alert)
|
||||
Reference in New Issue
Block a user