Use "Verify the Attribute" in lib/utils.robot.
Remove the same from tests/ipmi/test_sensors_ipmi.robot.
Resolves openbmc/openbmc-test-automation#1324
Change-Id: Iaf8b5e7056b54d182b442780adac2ddcadb18080
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/tests/ipmi/test_sensors_ipmi.robot b/tests/ipmi/test_sensors_ipmi.robot
index 3973c93..1a685b1 100644
--- a/tests/ipmi/test_sensors_ipmi.robot
+++ b/tests/ipmi/test_sensors_ipmi.robot
@@ -445,18 +445,6 @@
Should Be Equal ${BootProgress} ${resp}
-Verify The Attribute
- [Arguments] ${uri} ${parm} ${value}
-
- # Description of arguments:
- # uri URI path.
- # parm Attribute.
- # value Output to be compared.
-
- ${output}= Read Attribute ${uri} ${parm}
- Should Be Equal ${value} ${output}
-
-
Test Teardown Execution
[Documentation] Do the post test teardown.
... 1. Capture FFDC on test failure.
diff --git a/tests/test_sensors.robot b/tests/test_sensors.robot
index e1222b6..fadf4ce 100644
--- a/tests/test_sensors.robot
+++ b/tests/test_sensors.robot
@@ -54,15 +54,6 @@
${url}= Get From List ${resp} 0
[Return] ${url}
-Verify The Attribute
- [Arguments] ${uri} ${parm} ${value}
- # Description of arguments:
- # ${uri} URI path.
- # ${parm} Attribute.
- # ${value} Output to be compared.
-
- ${output}= Read Attribute ${uri} ${parm}
- Should Be Equal ${value} ${output}
Test Teardown Execution
[Documentation] Do the post test teardown.