From b9b11a4c3ed969cac81f641d0c129d048d2bafa2 Mon Sep 17 00:00:00 2001 From: Leonardo Pistone Date: Mon, 27 Jan 2014 16:31:07 +0100 Subject: [PATCH] [fix] yaml test --- account_statement_cancel_line/test/cancel_line.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/account_statement_cancel_line/test/cancel_line.yml b/account_statement_cancel_line/test/cancel_line.yml index b16e8f13..e2b36eec 100644 --- a/account_statement_cancel_line/test/cancel_line.yml +++ b/account_statement_cancel_line/test/cancel_line.yml @@ -51,13 +51,13 @@ - I check that the state of the statement line is "Confirmed" - - !assert {model: account.bank.statement, id: statement_line_1}: + !assert {model: account.bank.statement.line, id: statement_line_1}: - state == 'confirmed' - I check that a move was generated - - !assert {model: account.bank.statement, id: statement_line_1}: - - move_id + !assert {model: account.bank.statement.line, id: statement_line_1}: + - move_ids - Now I cancel a statement line - @@ -77,4 +77,4 @@ And the move is not there anymore - !assert {model: account.bank.statement.line, id: statement_line_1}: - - move_id is False + - move_ids == []