Проект разделен на два репозитория
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import pytest
|
||||
|
||||
from app.config import Settings
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def full_settings() -> Settings:
|
||||
return Settings(
|
||||
enabled=True,
|
||||
mode="full",
|
||||
database_url="postgresql+asyncpg://user:pass@db/han",
|
||||
crm_rest_webhook_url="https://portal.example/rest/1/credential/",
|
||||
contact_receiver_token="contact-token-value-32-characters",
|
||||
alert_receiver_token="alert-token-value-32-characters---",
|
||||
service_token="service-token-value-32-characters-",
|
||||
portal_host="portal.example",
|
||||
portal_member_id="member_12345678",
|
||||
public_base_url="https://sync.example",
|
||||
contact_user_id_field="UF_CRM_100",
|
||||
contact_registered_field="UF_CRM_101",
|
||||
contact_citizenship_field="UF_CRM_102",
|
||||
webhook_allowed_cidrs="203.0.113.0/24",
|
||||
)
|
||||
Reference in New Issue
Block a user