diff options
author | 2019-03-28 06:46:34 -0400 | |
---|---|---|
committer | 2019-03-28 06:47:04 -0400 | |
commit | 8684696712cfe4120092b291cb124accc5712f62 (patch) | |
tree | 5333b80f6274917093e588109f148a60e1f1ffb6 /cmso-robot/robot/resources/misc.robot | |
parent | 0b477ebe952a088c278482f2d30b843559266a37 (diff) |
Testsuie for Optimizer mS
Issue-ID: OPTFRA-430
Change-Id: I4c9f42517019a5b30dd3ecd744bf8f15c939da58
Signed-off-by: Jerry Flood <jflood@att.com>
Diffstat (limited to 'cmso-robot/robot/resources/misc.robot')
-rw-r--r-- | cmso-robot/robot/resources/misc.robot | 5 |
1 files changed, 4 insertions, 1 deletions
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 |