Commit f8be85ab authored by Aurel's avatar Aurel

fix typo for 100 usd banknote, add the one for 200


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13593 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 04caf3e2
...@@ -420,10 +420,15 @@ class TestERP5BankingMixin: ...@@ -420,10 +420,15 @@ class TestERP5BankingMixin:
# Create Resources Document (Banknotes & Coins) in USD # Create Resources Document (Banknotes & Coins) in USD
self.currency_2 = self.createCurrency(id='USD',title='USD') self.currency_2 = self.createCurrency(id='USD',title='USD')
# create document for banknote of 100 USD # create document for banknote of 100 USD
self.usd_billet_200 = self.currency_cash_module.newContent(id='usd_billet_100', self.usd_billet_100 = self.currency_cash_module.newContent(id='usd_billet_100',
portal_type='Banknote', base_price=100, portal_type='Banknote', base_price=100,
price_currency_value=self.currency_2, variation_list=('not_defined',), price_currency_value=self.currency_2, variation_list=('not_defined',),
quantity_unit_value=self.unit) quantity_unit_value=self.unit)
# create document for banknote of 200 USD
self.usd_billet_200 = self.currency_cash_module.newContent(id='usd_billet_200',
portal_type='Banknote', base_price=200,
price_currency_value=self.currency_2, variation_list=('not_defined',),
quantity_unit_value=self.unit)
# create document for banknote of 50 USD # create document for banknote of 50 USD
self.usd_billet_50 = self.currency_cash_module.newContent(id='usd_billet_50', self.usd_billet_50 = self.currency_cash_module.newContent(id='usd_billet_50',
portal_type='Banknote', base_price=50, portal_type='Banknote', base_price=50,
......
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