diff --git a/tests/test_data_is_opening_balance_txn.py b/tests/test_data_is_opening_balance_txn.py index 5dba3c8a23a41c24d59fedb843b1e51e33c2ff1d..70d49bd11286ead3a38f33e47244403029bc1223 100644 --- a/tests/test_data_is_opening_balance_txn.py +++ b/tests/test_data_is_opening_balance_txn.py @@ -50,6 +50,8 @@ def test_opening_with_fx(): ('Expenses:Other', 'Equity:Retained:Costs', 300), # Release from restriction ('Equity:Funds:Unrestricted', 'Equity:Funds:Restricted', 400), + # Donation from project fund + ('Equity:Funds:Restricted', 'Income:Donations', 500), ]) def test_not_opening_balance(acct1, acct2, number): txn = testutil.Transaction(postings=[