Commit 52e66654 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify more according to the new simulation hierarchy.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32651 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e17f3d96
......@@ -706,7 +706,7 @@ class TestTaxLineOrderSimulation(AccountingBuildTestCase):
invoice_simulation_movement.getBaseContributionValueList())
# now test the tax movement
applied_tax_rule_list = [ar for ar in level2_applied_rule_list if
applied_tax_rule_list = [ar for ar in level3_applied_rule_list if
ar.getSpecialiseValue().getPortalType() == 'Tax Rule']
self.assertEquals(1, len(applied_tax_rule_list))
tax_simulation_movement_list = applied_tax_rule_list[0].contentValues()
......@@ -721,7 +721,7 @@ class TestTaxLineOrderSimulation(AccountingBuildTestCase):
# reexpand and check nothing changed
root_applied_rule.expand()
applied_tax_rule_list = [ar for ar in level2_applied_rule_list if
applied_tax_rule_list = [ar for ar in level3_applied_rule_list if
ar.getSpecialiseValue().getPortalType() == 'Tax Rule']
self.assertEquals(1, len(applied_tax_rule_list))
tax_simulation_movement_list = applied_tax_rule_list[0].contentValues()
......
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