From 8684696712cfe4120092b291cb124accc5712f62 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Thu, 28 Mar 2019 06:46:34 -0400 Subject: Testsuie for Optimizer mS Issue-ID: OPTFRA-430 Change-Id: I4c9f42517019a5b30dd3ecd744bf8f15c939da58 Signed-off-by: Jerry Flood --- cmso-robot/robot/resources/misc.robot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmso-robot/robot/resources/misc.robot') diff --git a/cmso-robot/robot/resources/misc.robot b/cmso-robot/robot/resources/misc.robot index d782400..0dd15e9 100644 --- a/cmso-robot/robot/resources/misc.robot +++ b/cmso-robot/robot/resources/misc.robot @@ -22,9 +22,12 @@ Validate Status Validate JSON Error [Documentation] Fails if messageIds do not match. expected_errors should be a list but a string would likely work as well - [Arguments] ${resp_json} ${expected_errors} + [Arguments] ${resp_json} ${expected_errors} ${listVars} ${result}= Get From Dictionary ${resp_json['requestError']} messageId + ${variables}= Get From Dictionary ${resp_json['requestError']} variables Should Contain ${expected_errors} ${result} #checks expected_errors list for the actual error received from schedule + :for ${var} IN @{listVars} + \ Should Contain ${variables} ${var} Check ATTIDs Template [Documentation] This just checks a list of uuids -- cgit 1.2.3-korg