test(control): include cash and offset account source rows in trial balance fixture
davoodmehraban89 committed
Oct 31, 2026 at 08:35 UTC
d3339b7829085ed0d99df344946d872dd43ff228
1 file changed
+5
-2
backend/tests/test_cross_statement_reconciliation.py
+5
-2
@@ -113,10 +113,13 @@ def cash(*, closing="50", net="10", eligible=True):
113
def trial(*, balanced=True):
114
return TrialBalanceDiagnostic(
115
company_code="001", fiscal_year=1404, source_sha256=SOURCE,
116
- account_count=4, opening_debit_net_total="0",
116
+ account_count=2, opening_debit_net_total="0",
117
debit_turnover_total="100", credit_turnover_total="100",
118
closing_debit_net_total="0", movement_difference="0",
119
- opening_to_closing_difference="0", findings=(), accounts=(),
119
+ opening_to_closing_difference="0", findings=(), accounts=(
120
+ TrialBalanceAccount("CASH1", "Cash", 2, 1, "40", "30", "20", "50", "10"),
121
+ TrialBalanceAccount("OFFSET", "Offset", 3, 2, "-40", "70", "80", "-50", "-10"),
122
+ ),
123
balanced_for_analyst_review=balanced,
124
)
125