Commit d6d2eeb2 authored by Jérome Perrin's avatar Jérome Perrin

fix test; when there's no consumption, the dict is empty


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43340 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4b32076
......@@ -412,10 +412,7 @@ class TestBudget(ERP5TypeTestCase):
transaction.commit()
self.tic()
self.assertEquals(
{('source/account_module/fixed_assets', 'account_type/asset'): 0.0,
('source/account_module/goods_purchase', 'account_type/expense'): 0.0},
budget_line.getConsumedBudgetDict())
self.assertEquals(dict(), budget_line.getConsumedBudgetDict())
self.assertEquals(
{('source/account_module/fixed_assets', 'account_type/asset'): -100.0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment