Remove OS boot for PowerCapEnable test
"Verify Powercap Disabled By Default" doesn't need to
boot the OS to check if PowerCapEnable is set or not.
Resolves openbmc/openbmc-test-automation#1151
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
Change-Id: I91ce6ad0dd97d0f043ebe3ace1e5eeff5b52234d
diff --git a/tests/energy_scale/test_power_management.robot b/tests/energy_scale/test_power_management.robot
deleted file mode 100644
index 6f224db..0000000
--- a/tests/energy_scale/test_power_management.robot
+++ /dev/null
@@ -1,41 +0,0 @@
-*** Settings ***
-Documentation Power management test module.
-
-Resource ../../lib/rest_client.robot
-Resource ../../lib/openbmc_ffdc.robot
-Resource ../../lib/boot_utils.robot
-
-Suite Setup Setup The Suite
-Test Teardown Post Test Case Execution
-
-*** Test Cases ***
-
-Verify Powercap Disabled By Default
- [Documentation] Powercap is disabled by default.
- [Tags] Verify_Powercap_Disabled_By_Default
-
- # Example:
- # /xyz/openbmc_project/control/host0/power_cap:
- # {
- # "PowerCap": 0,
- # "PowerCapEnable": 0
- # },
-
- ${powercap}= Read Attribute ${CONTROL_HOST_URI}power_cap PowerCapEnable
- Should Be Equal ${powercap} ${0}
-
-
-*** Keywords ***
-
-Setup The Suite
- [Documentation] Do test setup initialization.
-
- REST Power On
- Delete Error Logs
-
-
-Post Test Case Execution
- [Documentation] Do the post test teardown.
- ... 1. Capture FFDC on test failure.
-
- FFDC On Test Case Fail
diff --git a/tests/test_escale_activation.robot b/tests/test_escale_activation.robot
new file mode 100644
index 0000000..a115625
--- /dev/null
+++ b/tests/test_escale_activation.robot
@@ -0,0 +1,33 @@
+*** Settings ***
+Documentation Test the default value of power management enablement.
+
+Resource ../lib/openbmc_ffdc.robot
+
+Test Teardown Test Teardown Execution
+
+
+*** Test Cases ***
+
+Verify Powercap Disabled By Default
+ [Documentation] Powercap is disabled by default.
+ [Tags] Verify_Powercap_Disabled_By_Default
+
+ # Example:
+ # /xyz/openbmc_project/control/host0/power_cap:
+ # {
+ # "PowerCap": 0,
+ # "PowerCapEnable": 0
+ # },
+
+ ${powercap}= Read Attribute ${CONTROL_HOST_URI}power_cap PowerCapEnable
+ Should Be True ${powercap} == ${0}
+ ... msg=Default PowerCapEnable should be off.
+
+
+*** Keywords ***
+
+
+Test Teardown Execution
+ [Documentation] Do the post test teardown.
+
+ FFDC On Test Case Fail