def test_2_confirm_pp(self, testdb):
     acct_bal = NotificationsController.budget_account_sum(testdb)
     assert acct_bal == Decimal('428990.47')
     stand_bal = NotificationsController.standing_budgets_sum(testdb)
     assert stand_bal == Decimal('10766.52')
     pp_bal = NotificationsController.pp_sum(testdb)
     assert pp_bal == Decimal('11.76')
     unrec_amt = NotificationsController.budget_account_unreconciled(testdb)
     assert unrec_amt == Decimal('-333.33')
 def test_1_confirm_pp(self, testdb):
     acct_bal = NotificationsController.budget_account_sum(testdb)
     assert acct_bal == Decimal('12889.24')
     stand_bal = NotificationsController.standing_budgets_sum(testdb)
     assert stand_bal == Decimal('11099.85')
     pp_bal = NotificationsController.pp_sum(testdb)
     assert pp_bal == Decimal('11.76')
     unrec_amt = NotificationsController.budget_account_unreconciled(testdb)
     assert unrec_amt == Decimal('33666.67')
 def test_1_confirm_pp(self, testdb):
     acct_bal = NotificationsController.budget_account_sum(testdb)
     assert acct_bal == 12889.24
     stand_bal = NotificationsController.standing_budgets_sum(testdb)
     assert stand_bal == 11099.85
     pp_bal = NotificationsController.pp_sum(testdb)
     # floating point awfulness
     assert "%.2f" % pp_bal == '11.76'
     unrec_amt = NotificationsController.budget_account_unreconciled(testdb)
     assert unrec_amt == 33666.67