test(mapping): preserve exact Decimal scale in BS note assertion
davoodmehraban89 committed
Oct 31, 2026 at 09:35 UTC
5b2d1839f9ff925dff6fe657668e401ab3301d66
1 file changed
+1
-1
backend/tests/test_reconciliation_review.py
+1
-1
@@ -269,7 +269,7 @@ def test_one_account_can_reconcile_to_multiple_distinct_statement_notes():
269
assert result.candidate_mapped_accounts == 2
270
assert result.blocked_accounts == 0
271
notes = {(note.statement, note.note_number): note for note in result.notes}
272
- assert notes[("BS", "N01")].candidate_closing_exposure == "126"
272
+ assert notes[("BS", "N01")].candidate_closing_exposure == "126.00"
273
assert notes[("EQ", "E01")].candidate_closing_exposure == "110.25"
274
assert all(note.matched for note in result.notes)
275