[FIX] sale: change test because product's demo datas have changed

bzr revid: chm@openerp.com-20131015102133-s78olcy53ypu21c5
This commit is contained in:
Christophe Matthieu 2013-10-15 12:21:33 +02:00
parent c056f03a82
commit d2108bf33c
1 changed files with 4 additions and 4 deletions

View File

@ -17,8 +17,8 @@
I verify that the onchange was correctly triggered
-
!assert {model: sale.order, id: sale.sale_order_test1, string: The onchange function of product was not correctly triggered}:
- order_line[0].name == u'[LCD17] 17\u201d LCD Monitor'
- order_line[0].price_unit == 1350.0
- order_line[0].name == u'[A8767] Apple In-Ear Headphones'
- order_line[0].price_unit == 79.0
- order_line[0].product_uom_qty == 8
- order_line[0].product_uom.id == ref('product.product_uom_unit')
@ -35,7 +35,7 @@
I verify that the onchange was correctly triggered
-
!assert {model: sale.order, id: sale.sale_order_test2, string: The onchange function of product was not correctly triggered}:
- order_line[0].name == u'[LCD17] 17\u201d LCD Monitor'
- order_line[0].price_unit == 1350.0 * 12
- order_line[0].name == u'[A8767] Apple In-Ear Headphones'
- order_line[0].price_unit == 79.0 * 12
- order_line[0].product_uom.id == ref('product.product_uom_dozen')
- order_line[0].product_uom_qty == 16