From 07a9e9a56e8e0865695a757ef248e849b8d7fa09 Mon Sep 17 00:00:00 2001 From: selurvedu <selurvedu@users.noreply.github.com> Date: Thu, 18 Feb 2016 00:42:47 +0000 Subject: [PATCH] Throw failure instead of warning Old behaviour: If we expected failure but got success, log a warning but don't call `Fail`. New behaviour: If we expected failure but got success, call `Fail`. Also, the message was corrected. --- op_robot_tests/tests_files/keywords.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op_robot_tests/tests_files/keywords.robot b/op_robot_tests/tests_files/keywords.robot index 0f35086..fc0e42c 100644 --- a/op_robot_tests/tests_files/keywords.robot +++ b/op_robot_tests/tests_files/keywords.robot @@ -216,8 +216,8 @@ SwitchState Log Many @{arguments} ${keywords_file}= Get Broker Property By Username ${username} keywords_file ${status} ${value}= run_keyword_and_ignore_keyword_definitions ${keywords_file}.${command} ${username} @{arguments} - Run keyword if '${status}' == 'PASS' Log Учасник ${username} зміг виконати "${command}" WARN - [return] ${value} + Run keyword if '${status}' == 'PASS' Fail Користувач ${username} зміг виконати "${command}" + [return] ${value} Дочекатись дати -- libgit2 0.24.0