[IMP]: lunch: solve problem of assert tag in yaml test case.
bzr revid: atp@tinyerp.co.in-20100422133233-tyvx5yz5m3xy3dnx
This commit is contained in:
parent
c33fd4dd3d
commit
cd3a5a7619
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue