diff options
author | DR695H <dr695h@att.com> | 2017-03-03 18:12:49 -0500 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2017-03-03 18:12:57 -0500 |
commit | 11c0693937991578604ea9a0d0c598314aa490be (patch) | |
tree | be1bdaa1c2680df043db3a5c4940b5af61b0d4e3 /robot | |
parent | 5bf0e2da57adb05dc4b62dfc71acb4bee9ecd7ad (diff) |
convert to string before checking status
convert to string before checking status
Change-Id: I266bbdd8785306e1654caad7eae0e7f50cedb2e1
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot')
-rw-r--r-- | robot/resources/heatbridge.robot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/resources/heatbridge.robot b/robot/resources/heatbridge.robot index c93692e4..fa4b26a0 100644 --- a/robot/resources/heatbridge.robot +++ b/robot/resources/heatbridge.robot @@ -42,7 +42,8 @@ Execute Heatbridge ${request}= Bridge Data ${stack_id} Log ${request} ${resp}= Run A&AI Put Request ${VERSIONED_INDEX_PATH}${MULTIPART_PATH} ${request} - Should Match Regexp ${resp.status_code} ^(201|200)$ + ${status_string}= Convert To String ${resp.status_code} + Should Match Regexp ${status_string} ^(201|200)$ ${reverse_heatbridge}= Generate Reverse Heatbridge From Stack Info ${stack_info} Set Test Variable ${REVERSE_HEATBRIDGE} ${reverse_heatbridge} Run Validation Query ${stack_info} ${service} |