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

@@ -80,6 +80,9 @@ class TestCompaniesCommandsTest(TestCase):
ParserLoadLog.Source.INTEGRATED_STRUCTURE_DOCUMENTS,
ParserLoadLog.Source.FEDRESURS_COMPANY_PROFILE,
ParserLoadLog.Source.FSSP_ENFORCEMENT_PROCEEDINGS,
ParserLoadLog.Source.CHECKO_LEASING,
ParserLoadLog.Source.CHECKO_MESSAGES,
ParserLoadLog.Source.CHECKO_LICENSES,
}
}
for company in companies:
@@ -274,7 +277,7 @@ class TestCompaniesCommandsTest(TestCase):
)
self.assertEqual(
OrganizationSourceRecord.objects.count(),
20 * (len(ParserLoadLog.Source) - 4),
20 * (len(ParserLoadLog.Source) - 7),
)
def test_create_replaces_stale_source_record_for_same_legacy_row(self):