fix: resolve parser organizations from directory only
Some checks failed
CI/CD Pipeline / Quality Gate (push) Failing after 32s
CI/CD Pipeline / Build and Push Images (push) Has been skipped
CI/CD Pipeline / Internal Notify (push) Successful in 0s
CI/CD Pipeline / Deploy Dev via Compose (push) Has been skipped

This commit is contained in:
2026-06-07 16:28:57 +02:00
parent 6ba8fa8d88
commit 802257a757
19 changed files with 184 additions and 83 deletions

View File

@@ -50,6 +50,7 @@ from .factories import (
ParserLoadLogFactory,
ProxyFactory,
)
from .organization_helpers import create_directory_organization
def _digits(length: int) -> str:
@@ -61,7 +62,7 @@ def _proxy_address() -> str:
def _create_registry_organization(*, inn: str, ogrn: str) -> Organization:
return Organization.objects.create(
return create_directory_organization(
name=fake.company(),
ogrn=ogrn,
inn=inn,