feat: expose Checko section APIs and completion counters

This commit is contained in:
Aleksandr Meshchryakov
2026-10-05 16:45:13 +02:00
parent a517950425
commit 4637b02ddd
26 changed files with 1974 additions and 36 deletions

View File

@@ -31,6 +31,9 @@ def _parallel(actions):
@pytest.mark.parametrize(
"slug,source",
[
("checko-leasing", "checko_leasing"),
("checko-messages", "checko_messages"),
("checko-licenses", "checko_licenses"),
("sme-support-recipients-registry", "fns_sme_support_recipients"),
("budget-process-registry", "budget_ubpandnubp"),
("sro-membership-check", "sro_membership_check"),

View File

@@ -97,6 +97,9 @@ class SourceCardServiceUnitTest(TestCase):
"sro-membership-check",
"integrated-structure-documents",
"fedresurs-company-profile",
"checko-leasing",
"checko-messages",
"checko-licenses",
"fssp-enforcement-proceedings",
],
)
@@ -120,6 +123,9 @@ class SourceCardServiceUnitTest(TestCase):
"Проверка членства в СРО",
"Документы интегрированных структур",
"Федресурс: сведения о юридических лицах",
"Лизинг",
"Сообщения организаций",
"Лицензии организаций",
"ФССП: Банк данных исполнительных производств",
],
)

View File

@@ -50,7 +50,8 @@ class ParserSourceRegistryPresentationTest(SimpleTestCase):
public_metadata = " ".join(
str(value)
for descriptor in PARSER_SOURCES.values()
for value in asdict(descriptor).values()
for field, value in asdict(descriptor).items()
if field not in {"key", "source", "task_name"}
)
self.assertNotIn("checko", public_metadata.lower())