Create directory to hold energy scale tests.
Create directory energy_scale under the tests directory.
Move tests/test_power_management.robot to that directory.
Part of openbmc/openbmc-test-automation#897
Change-Id: Ic7c10079408a340511780ddc95d4e27a8ff36065
Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
diff --git a/tests/energy_scale/test_power_management.robot b/tests/energy_scale/test_power_management.robot
new file mode 100644
index 0000000..6f224db
--- /dev/null
+++ b/tests/energy_scale/test_power_management.robot
@@ -0,0 +1,41 @@
+*** 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