From cd3a5a7619e8f00940a732b4489e998da8fd0fab Mon Sep 17 00:00:00 2001 From: "atp (Open ERP)" Date: Thu, 22 Apr 2010 19:02:33 +0530 Subject: [PATCH] [IMP]: lunch: solve problem of assert tag in yaml test case. bzr revid: atp@tinyerp.co.in-20100422133233-tyvx5yz5m3xy3dnx --- addons/lunch/test/test_lunch.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/lunch/test/test_lunch.yml b/addons/lunch/test/test_lunch.yml index e44b90c4fa7..668579a6ee2 100644 --- a/addons/lunch/test/test_lunch.yml +++ b/addons/lunch/test/test_lunch.yml @@ -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