aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-03-20 13:17:38 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-03-20 13:17:38 -0700
commit89dfca0b86f7c3d72b838fd1c3eaa7ecf2770ba4 (patch)
tree76ce1b66e11e12eeae011e7d359e83e9b0342191
parentbd2f9b086f1eacf25fa193551decccaf897537f1 (diff)
Fix data type mismatch in comparison
Change-Id: I9d4197ce4e8f68811f2d3bc06e40f009d59f7fb1 Issue-ID: INT-445 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--robot/resources/test_templates/closedloop_test_template.robot10
1 files changed, 5 insertions, 5 deletions
diff --git a/robot/resources/test_templates/closedloop_test_template.robot b/robot/resources/test_templates/closedloop_test_template.robot
index 588553c8..ac79ad4c 100644
--- a/robot/resources/test_templates/closedloop_test_template.robot
+++ b/robot/resources/test_templates/closedloop_test_template.robot
@@ -106,7 +106,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}
@@ -114,7 +114,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}
@@ -133,7 +133,7 @@ Get Configs VFWCL 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}
@@ -141,7 +141,7 @@ Get Configs VFWCL 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}
@@ -159,7 +159,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}