Добавлена отправка накладных на почту
This commit is contained in:
@@ -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"},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user