From bf3d3f12e9d14e12b27558e3576256c81b08f686 Mon Sep 17 00:00:00 2001 From: Raykov-MS Date: Fri, 18 Sep 2026 11:22:04 +0300 Subject: [PATCH] Restore column_registry test fix lost when parser was reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test_column_registry.py expected the own_account_cash/foreign_card boundary at column 97, but mapping_table.json (Fix Errors) already moved it to 96 (Код территории belongs to foreign_card, not own_account_cash). The test fix for this had landed in a later commit that got reset off this branch during an unrelated branch migration; reapplying it here. --- tests/unit/test_column_registry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_column_registry.py b/tests/unit/test_column_registry.py index ef168ca..a1f91a1 100644 --- a/tests/unit/test_column_registry.py +++ b/tests/unit/test_column_registry.py @@ -28,7 +28,7 @@ def test_registry_covers_all_report_columns_without_gaps() -> None: def test_registry_assigns_card_columns_missing_from_original_plan() -> None: - assert COLUMNS.block("foreign_card") == tuple(range(97, 107)) + assert COLUMNS.block("foreign_card") == tuple(range(96, 107)) def test_registry_explicitly_preserves_structured_lookup_compatibility() -> None: @@ -75,14 +75,14 @@ def test_registry_splits_money_and_participant_header_groups() -> None: ( "own_account_cash", 79, - 96, + 95, "Сведения о внесении наличных денежных средств на свой банковский счет " "или о получении наличных денежных средств со своего банковского счета " "у одного оператора по переводу денежных средств", ), ( "foreign_card_operation", - 97, + 96, 106, "Сведения об операции с использованием платежной карты иностранного банка", ),