Добавлена отправка накладных на почту

This commit is contained in:
Раис Юсупалиев
2026-05-24 00:55:09 +03:00
parent 5526f90cb3
commit 50124fb2c9
36 changed files with 1615 additions and 22 deletions
@@ -11,6 +11,7 @@ from unittest.mock import AsyncMock, MagicMock, patch
from app.config import (
AdapterConfig,
EmailAdapterConfig,
ObservabilityConfig,
PostgresConfig,
Settings,
@@ -39,6 +40,11 @@ def _make_settings() -> Settings:
service_name="svc", otlp_endpoint="http://otlp"
),
waybill_poller=WaybillPollerConfig(interval_seconds=0.01, batch_size=5),
email=EmailAdapterConfig(
smtp_host="smtp.test",
smtp_port=587,
from_address="no-reply@test",
),
business_logic={"provider_price_multiplier": "1.0"},
)