summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rose <dr695h@att.com>2018-03-20 20:23:45 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-20 20:23:45 +0000
commit45b4e23c1f3a7db32b786d4bacb9ed1d1ae5221a (patch)
treeb018ae1c65c510be50d14b336be87e74a3bbc944
parent0b1899ae88559c837d5da9f9ae2054a9f91edbe9 (diff)
parent80676114e8cee1d1af51e35518026913d725692b (diff)
Merge "Fix data type mismatch in comparison"
-rw-r--r--robot/resources/test_templates/closedloop_test_template.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/test_templates/closedloop_test_template.robot b/robot/resources/test_templates/closedloop_test_template.robot
index 737fc4df..9ae2ee9d 100644
--- a/robot/resources/test_templates/closedloop_test_template.robot
+++ b/robot/resources/test_templates/closedloop_test_template.robot
@@ -88,7 +88,7 @@ Get Configs VFW Policy
${severity}= Get Variable Value ${config["content"]["thresholds"][0]["severity"]}
Should Be Equal ${severity} ${Expected_Severity_1}
${Thresold_Value}= Get Variable Value ${config["content"]["thresholds"][0]["thresholdValue"]}
- Should Be Equal ${Thresold_Value} ${Expected_Threshold_1}
+ Should Be Equal As Integers ${Thresold_Value} ${Expected_Threshold_1}
${direction}= Get Variable Value ${config["content"]["thresholds"][0]["direction"]}
Should Be Equal ${direction} ${Expected_Direction_1}
@@ -96,7 +96,7 @@ Get Configs VFW Policy
${severity_1}= Get Variable Value ${config["content"]["thresholds"][1]["severity"]}
Should Be Equal ${severity_1} ${Expected_Severity_2}
${Thresold_Value_1}= Get Variable Value ${config["content"]["thresholds"][1]["thresholdValue"]}
- Should Be Equal ${Thresold_Value_1} ${Expected_Threshold_2}
+ Should Be Equal As Integers ${Thresold_Value_1} ${Expected_Threshold_2}
${direction_1}= Get Variable Value ${config["content"]["thresholds"][1]["direction"]}
Should Be Equal ${direction_1} ${Expected_Direction_2}
@@ -114,7 +114,7 @@ Get Configs VDNS Policy
${severity}= Get Variable Value ${config["content"]["tca_policy"]["metricsPerEventName"][0]["thresholds"][0]["severity"]}
Should Be Equal ${severity} ${Expected_Severity_2}
${Thresold_Value}= Get Variable Value ${config["content"]["tca_policy"]["metricsPerEventName"][0]["thresholds"][0]["thresholdValue"]}
- Should Be Equal ${Thresold_Value} ${Expected_Threshold_1}
+ Should Be Equal As Integers ${Thresold_Value} ${Expected_Threshold_1}
${direction}= Get Variable Value ${config["content"]["tca_policy"]["metricsPerEventName"][0]["thresholds"][0]["direction"]}
Should Be Equal ${direction} ${Expected_Direction_3}