convert to string before checking status 53/1653/1
authorDR695H <dr695h@att.com>
Fri, 3 Mar 2017 23:12:49 +0000 (18:12 -0500)
committerDR695H <dr695h@att.com>
Fri, 3 Mar 2017 23:12:57 +0000 (18:12 -0500)
convert to string before checking status

Change-Id: I266bbdd8785306e1654caad7eae0e7f50cedb2e1
Signed-off-by: DR695H <dr695h@att.com>
robot/resources/heatbridge.robot

index c93692e..fa4b26a 100644 (file)
@@ -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}