feat: initial commit

This commit is contained in:
2026-08-29 13:17:59 +02:00
commit 142f5f5759
91 changed files with 6155 additions and 0 deletions
@@ -0,0 +1,15 @@
from acme_app.notifier import send_reminder, send_welcome
def test_send_welcome_zwraca_identyfikator():
message_id = send_welcome("jan@example.com", api_key="k-1", endpoint="https://acme.internal")
assert message_id.startswith("msg_")
def test_send_reminder_zwraca_identyfikator():
message_id = send_reminder("jan@example.com", api_key="k-1", endpoint="https://acme.internal", body="Przypomnienie")
assert message_id.startswith("msg_")
def test_send_reminder_zwraca_none_przy_bledzie_dostawcy():
assert send_reminder("odrzuc@example.com", api_key="k-1", endpoint="https://acme.internal", body="x") is None