[IMP] mrp_jit: Changed id and improved message
authorpso (OpenERP) <pso@tinyerp.com>
Mon, 30 Jul 2012 13:19:26 +0000 (18:49 +0530)
committerpso (OpenERP) <pso@tinyerp.com>
Mon, 30 Jul 2012 13:19:26 +0000 (18:49 +0530)
bzr revid: pso@tinyerp.com-20120730131926-h9ptbsfgfogncl57

addons/mrp_jit/test/mrp_jit.yml

index 0580de9..4b847c4 100644 (file)
@@ -1,8 +1,8 @@
 -
-  In order to test mrp_jit module with OpenERP, I create procurement order
-  and check whether it runs without scheduler or not.
+  In order to test mrp_jit module with OpenERP, I create procurement order for 
+  Computer Case product and check whether it runs without scheduler or not.
 -
-  !record {model: procurement.order, id: mrp_production_mo0}:
+  !record {model: procurement.order, id: procurement_order_test1}:
     company_id: base.main_company
     date_planned: !eval datetime.today().strftime("%Y-%m-%d %H:%M:%S")
     location_id: stock.stock_location_stock
   |
   I confirm the procurement order PROC/TEST/0001.
 -
-  !workflow {model: procurement.order, action: button_confirm, ref: mrp_production_mo0}
+  !workflow {model: procurement.order, action: button_confirm, ref: procurement_order_test1}
 -
   |
   I check that the procurement is scheduled automatically.
 -
-  !assert {model: procurement.order, id: mrp_production_mo0, string: procstate}:
+  !assert {model: procurement.order, id: procurement_order_test1, string: procstate}:
     - state<>'confirmed'