test(mapping): correct exact decimal classification fixture
davoodmehraban89 committed
Nov 1, 2026 at 15:09 UTC
dab35cdf605fd302e2a4075a7b97dbe90db1c6d0
1 file changed
+3
-3
backend/tests/test_mapping_matcher.py
+3
-3
@@ -101,10 +101,10 @@ def test_system_closing_account_is_excluded_but_preserved_in_totals():
101
102
103
def test_summary_uses_exact_decimal_exposure():
104
- rules = build_mapping_rules([mapping_row(2)])
104
+ rules = build_mapping_rules([mapping_row(2, t1="A")])
105
rows = [
106
- ledger_row(3, closing="0.1"),
107
- ledger_row(4, closing="0.2"),
106
+ ledger_row(3, t1="A", closing="0.1"),
107
+ ledger_row(4, t1="A", closing="0.2"),
108
ledger_row(5, t1="X", closing="-0.3"),
109
]
110