Code cleanup for sensor test suite
Changes:
- Remove "Open Connection And Log In" initialization.
- Add OPENBMC_MODEL variable in resource.txt file.
Change-Id: I63afc9a1de04f38de325abc086ae140749b14491
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/resource.txt b/lib/resource.txt
index 57d1353..48ab60e 100755
--- a/lib/resource.txt
+++ b/lib/resource.txt
@@ -6,6 +6,8 @@
Variables ../data/variables.py
*** Variables ***
+
+${OPENBMC_MODEL} ${EMPTY}
${OPENBMC_HOST} ${EMPTY}
${DBUS_PREFIX} ${EMPTY}
${PORT} ${EMPTY}
diff --git a/tests/test_sensors.robot b/tests/test_sensors.robot
index fadf4ce..5db2436 100644
--- a/tests/test_sensors.robot
+++ b/tests/test_sensors.robot
@@ -14,7 +14,6 @@
Resource ../lib/utils.robot
Suite Setup Suite Setup Execution
-Test Setup Open Connection And Log In
Test Teardown Test Teardown Execution
*** Variables ***
@@ -42,7 +41,6 @@
# Boot Host.
REST Power On
- Open Connection And Log In
${resp}= Read Properties ${OPENBMC_BASE_URI}enumerate timeout=30
Set Suite Variable ${SYSTEM_INFO} ${resp}
log Dictionary ${resp}