[IMP]add yml file based on new session tag which test yml as per session user

bzr revid: sgo@tinyerp.com-20130204093425-blivw1198zxhsh2u
This commit is contained in:
sgo@tinyerp.com 2013-02-04 15:04:25 +05:30
parent 4c7e7c1435
commit 5ec04f6703
2 changed files with 2 additions and 17 deletions

View File

@ -80,7 +80,8 @@ The Dashboard for the Sales Manager will include
],
'demo': ['sale_demo.xml'],
'test': [
'test/sale_order_demo.yml',
'test/sale_order_salesmanager_demo.yml',
'test/sale_order_salesman_demo.yml',
'test/manual_order_policy.yml',
'test/cancel_order.yml',
'test/delete_order.yml',

View File

@ -1,16 +0,0 @@
-
In order to test process of the Sale Order, I create sale order
-
!record {model: sale.order, id: sale_order_test1}:
partner_id: base.res_partner_2
note: Invoice after delivery
payment_term: account.account_payment_term
order_line:
- product_id: product.product_product_7
product_uom_qty: 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