diff --git a/tests/test_reports_balance_sheet.py b/tests/test_reports_balance_sheet.py index 5239a766eb0fa1261065b21db44097a3fdf42d43..98e14678949c89138be7f2fff9a55f7a33d0cb67 100644 --- a/tests/test_reports_balance_sheet.py +++ b/tests/test_reports_balance_sheet.py @@ -83,7 +83,7 @@ def income_expense_balances(): ({'classification': 'Postage'}, 30), ({'classification': 'Services'}, 20), ({'classification': 'Nonexistent'}, None), - ({'period': Period.OPENING, 'account': 'Income'}, '-9.60'), + ({'period': Period.PRIOR, 'account': 'Income'}, '-9.60'), ({'period': Period.PERIOD, 'account': 'Expenses'}, 26), ({'fund': Fund.RESTRICTED, 'account': 'Income'}, -10), ({'fund': Fund.UNRESTRICTED, 'account': 'Expenses'}, 25), @@ -91,10 +91,10 @@ def income_expense_balances(): ({'post_type': 'fundraising'}, 20), ({'post_type': 'management'}, 10), ({'post_type': 'Nonexistent'}, None), - ({'period': Period.OPENING, 'post_type': 'RBI'}, '-4.80'), + ({'period': Period.PRIOR, 'post_type': 'RBI'}, '-4.80'), ({'fund': Fund.RESTRICTED, 'post_type': 'program'}, 10), ({'period': Period.PERIOD, 'fund': Fund.UNRESTRICTED, 'post_type': 'RBI'}, '-2.60'), - ({'period': Period.OPENING, 'fund': Fund.RESTRICTED, 'post_type': 'program'}, '4.80'), + ({'period': Period.PRIOR, 'fund': Fund.RESTRICTED, 'post_type': 'program'}, '4.80'), ({'period': Period.PERIOD, 'fund': Fund.RESTRICTED, 'post_type': 'ΓΈ'}, None), ]) def test_balance_total(income_expense_balances, kwargs, expected):