feat: expose FSSP source APIs and exports
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user