feat: expose FSSP source APIs and exports

This commit is contained in:
Aleksandr Meshchryakov
2026-10-05 16:00:54 +02:00
parent 1884ecc546
commit 8d2c16bc24
31 changed files with 2112 additions and 44 deletions

View File

@@ -79,6 +79,15 @@ class FsspSnapshotTests(TestCase):
)
)
def test_invalid_canonical_requisites_are_quarantined(self):
self.org.ogrn = "bad"
self.org.okpo = "1234567890"
self.org.save()
artifact, result = self.run_import()
assert result.published == 0
assert result.quarantined == 2
assert artifact.metadata["reasons"]["invalid_canonical_requisites"] == 2
def test_two_inputs_manifest_and_stable_uid(self):
artifact, result = self.run_import()
assert result.parsed == 2