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

we also need to commit transaction here


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24850 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c0d662da
...@@ -1396,6 +1396,7 @@ class TestTaxLineOrderSimulation(AccountingBuildTestCase): ...@@ -1396,6 +1396,7 @@ class TestTaxLineOrderSimulation(AccountingBuildTestCase):
resource_value=resource2, resource_value=resource2,
quantity=7, quantity=7,
price=10,) price=10,)
transaction.commit()
# check existing tax line # check existing tax line
tax_line_list = order.contentValues(portal_type='Tax Line') tax_line_list = order.contentValues(portal_type='Tax Line')
self.assertEquals(1, len(tax_line_list)) self.assertEquals(1, len(tax_line_list))
......
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