Code clean-up drive as per latest robot 7.x
Changes:
- Keyword name 'Should contain' does not follow
case convention
- Section '*** Variables ***' is empty
- Section variable '${poweron_flag}' name is
not uppercase
- Invalid number of empty lines between sections
Tested:
- NA
Change-Id: I424640ffc0ceba82f1f13b57ae7df60e9118546f
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/xcat/test_power_operation.robot b/xcat/test_power_operation.robot
index 22d40f1..12e8472 100644
--- a/xcat/test_power_operation.robot
+++ b/xcat/test_power_operation.robot
@@ -10,8 +10,6 @@
Suite Setup Test Suite Setup
-*** Variables ***
-
*** Test Cases ***
Verify Power On Via XCAT
@@ -21,7 +19,6 @@
Execute Command On XCAT rpower on
Wait Until Keyword Succeeds 10 min 10 sec Is Host Running
-
Verify Power Off Via XCAT
[Documentation] Power off system via XCAT and verify using REST.
[Tags] Verify_Power_Off_Via_XCAT
@@ -29,15 +26,13 @@
Execute Command On XCAT rpower off
Wait Until Keyword Succeeds 6 min 10 sec Is Host Off
-
Verify BMC State Via XCAT
[Documentation] Verify BMC state using REST and XCAT.
[Tags] Verify_BMC_State_Via_XCAT
${xcat_resp}= Execute Command On XCAT rpower bmcstate
${rest_resp}= Get BMC State
- Should contain ${xcat_resp} ${rest_resp}
-
+ Should Contain ${xcat_resp} ${rest_resp}
Verify Soft Power Off Followed With Power On
[Documentation] Verify soft power off system followed with power on.
@@ -50,7 +45,6 @@
Execute Command On XCAT rpower on
Wait Until Keyword Succeeds 10 min 10 sec Is Host Running
-
Verify Hard Power Off Followed With Power On
[Documentation] Verify hard power off system followed with power on.
[Tags] Verify_Hard_Power_Off_Followed_With_Power_On
@@ -62,7 +56,6 @@
Execute Command On XCAT rpower on
Wait Until Keyword Succeeds 10 min 10 sec Is Host Running
-
*** Keywords ***
Test Suite Setup