feat(registries): add SME and budget imports and fix source API workflows
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 9m37s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 4m18s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m48s
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 9m37s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 4m18s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m48s
This commit is contained in:
@@ -577,7 +577,7 @@ class OrganizationSourceExtensionsApiV2Test(APITestCase):
|
||||
|
||||
def test_flat_source_record_date_filter_precedes_pagination(self):
|
||||
organization = create_frontend_organization(
|
||||
name='ООО "Filtered pagination"',
|
||||
name='ООО "Искомое"',
|
||||
inn="7707083892",
|
||||
ogrn="1027700132092",
|
||||
)
|
||||
@@ -755,7 +755,7 @@ class OrganizationSourceExtensionsApiV2Test(APITestCase):
|
||||
self.assertEqual(response_organization["inn"], "0277106840")
|
||||
self.assertEqual(response_organization["ogrn"], organization.ogrn)
|
||||
|
||||
def test_flat_source_records_searches_payload_values_displayed_in_tables(self):
|
||||
def test_flat_source_records_does_not_search_payload_values(self):
|
||||
target = create_frontend_organization(
|
||||
name='ООО "Поиск по payload"',
|
||||
inn="7707083817",
|
||||
@@ -814,11 +814,8 @@ class OrganizationSourceExtensionsApiV2Test(APITestCase):
|
||||
)
|
||||
|
||||
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||
self.assertEqual(response.data["meta"]["pagination"]["total_count"], 1)
|
||||
self.assertEqual(
|
||||
response.data["data"][0]["external_id"],
|
||||
"INSP-PAYLOAD",
|
||||
)
|
||||
self.assertEqual(response.data["meta"]["pagination"]["total_count"], 0)
|
||||
self.assertEqual(response.data["data"], [])
|
||||
|
||||
def test_flat_source_records_searches_registry_identity_displayed_in_tables(self):
|
||||
organization = create_frontend_organization(
|
||||
|
||||
Reference in New Issue
Block a user