[IMP]: lunch: solve problem of assert tag in yaml test case.

bzr revid: atp@tinyerp.co.in-20100422133233-tyvx5yz5m3xy3dnx
This commit is contained in:
atp (Open ERP) 2010-04-22 19:02:33 +05:30
parent c33fd4dd3d
commit cd3a5a7619
1 changed files with 3 additions and 3 deletions

View File

@ -52,8 +52,8 @@
I check that the Cash Moves have been generated with the right box
name
-
# !assert {model: lunch.order, id: lunch_order_0}:
# - cashmove != False
!assert {model: lunch.order, id: lunch_order_0}:
- cashmove.id != False
- |
I check that the Total on the cashbox is -2.75
@ -120,7 +120,7 @@
I test that the Cash Moves revord have been removed for the order LU002.
-
!assert {model: lunch.order, id: lunch_order_1}:
- cashmove == False
- cashmove.id == False
- |
I check that the Total on the cashbox is -2.75