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

don't use Tax Line in this test, and put a TODO for how this test have to be

updated once we move order printouts to trade model line.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28514 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8cfdd3cf
......@@ -2608,7 +2608,12 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
self.resource_portal_type).newContent(
portal_type=self.resource_portal_type,
title='Résource',)
tax = self.portal.tax_module.newContent(portal_type='Tax', title='tàx')
# TODO: once we have updated order printout to use trade model lines, test
# the case of a trade model line with non ascii title on resource.
# tax = self.portal.tax_module.newContent(portal_type='Tax', title='tàx')
client = self.portal.organisation_module.newContent(
portal_type='Organisation',
title='Cliént',
......@@ -2629,10 +2634,13 @@ class TestOrder(TestOrderMixin, ERP5TypeTestCase):
resource_value=resource,
quantity=10,
price=3)
tax_line = order.newContent(portal_type='Tax Line',
resource_value=tax,
quantity=30,
price=.26)
# see TODO above
#tax_line = order.newContent(portal_type='Tax Line',
# resource_value=tax,
# quantity=30,
# price=.26)
order.confirm()
transaction.commit()
self.tic()
......
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