From ed2c6671b7ce6bfcaf04184b06022061f2628d6d Mon Sep 17 00:00:00 2001 From: Aleksandr Meshchriakov Date: Wed, 22 Jul 2026 14:33:08 +0200 Subject: [PATCH] test: align demo company exchange expectations --- .../test_test_companies_commands.py | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/apps/organizations/test_test_companies_commands.py b/tests/apps/organizations/test_test_companies_commands.py index 6848af0..c4741d2 100644 --- a/tests/apps/organizations/test_test_companies_commands.py +++ b/tests/apps/organizations/test_test_companies_commands.py @@ -133,7 +133,7 @@ class TestCompaniesCommandsTest(TestCase): self.assertEqual(OrganizationSourceRecord.objects.count(), 20 * 15) @override_settings(STATE_CORP_EXCHANGE_TOKEN=TEST_EXCHANGE_TOKEN) - def test_created_source_records_are_exported_to_state_corp_package(self): + def test_created_source_records_are_excluded_from_state_corp_package(self): call_command("create_test_companies", stdout=StringIO()) company_inns = list( @@ -146,18 +146,18 @@ class TestCompaniesCommandsTest(TestCase): self.assertEqual( package.payload_counts, { - "organizations": 20, - "industrial_certificates": 20, - "manufacturers": 20, - "industrial_products": 20, - "prosecutor_checks": 20, - "public_procurements": 60, - "financial_reports": 20, - "arbitration_cases": 20, - "bankruptcy_procedures": 20, - "defense_unreliable_suppliers": 40, - "information_security_registries": 20, - "labor_vacancies": 20, + "organizations": 0, + "industrial_certificates": 0, + "manufacturers": 0, + "industrial_products": 0, + "prosecutor_checks": 0, + "public_procurements": 0, + "financial_reports": 0, + "arbitration_cases": 0, + "bankruptcy_procedures": 0, + "defense_unreliable_suppliers": 0, + "information_security_registries": 0, + "labor_vacancies": 0, }, )