Restore column_registry test fix lost when parser was reset

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.
This commit is contained in:
Raykov-MS 2026-09-18 11:22:04 +03:00
parent 6cc68862c1
commit bf3d3f12e9

View File

@ -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,
"Сведения об операции с использованием платежной карты иностранного банка",
),