fix: resolve parser organizations from directory only
This commit is contained in:
@@ -37,6 +37,8 @@ from organizations.models import (
|
||||
OrganizationSourceRecord,
|
||||
)
|
||||
|
||||
from tests.apps.parsers.organization_helpers import create_directory_organization
|
||||
|
||||
|
||||
class DirectIngestionParserServicesTest(TestCase):
|
||||
"""Parser save services should not write legacy parser record rows."""
|
||||
@@ -52,7 +54,7 @@ class DirectIngestionParserServicesTest(TestCase):
|
||||
("7707083809", "1027700132009"),
|
||||
("7707083810", "1027700132010"),
|
||||
):
|
||||
Organization.objects.create(
|
||||
create_directory_organization(
|
||||
name=f"Справочник {inn or ogrn}",
|
||||
inn=inn,
|
||||
ogrn=ogrn,
|
||||
|
||||
Reference in New Issue
Block a user