Automation fix for VMI certificate
Changes:
- Modified "Suite Setup Execution" keyword
Tested:
- Ran successfully test_vmi.robot
- Ran successfully test_vmicert_management.robot
Change-Id: I8caee1ba6407b70c22acfd9c49533851c1f88b31
Signed-off-by: Megha G N <Megha.G.N@ibm.com>
diff --git a/openpower/ext_interfaces/test_vmi.robot b/openpower/ext_interfaces/test_vmi.robot
index b1a0092..40ccb8a 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -477,6 +477,9 @@
[Documentation] Do test setup execution task.
Redfish.Login
+
+ Redfish Power Off
+ Set BIOS Attribute pvm_hmc_managed Enabled
Redfish Power On
# Check whether OS is up and working fine.
diff --git a/openpower/ext_interfaces/test_vmicert_management.robot b/openpower/ext_interfaces/test_vmicert_management.robot
index 412aaf8..80b30e5 100644
--- a/openpower/ext_interfaces/test_vmicert_management.robot
+++ b/openpower/ext_interfaces/test_vmicert_management.robot
@@ -742,6 +742,10 @@
Remove Files *.csr *.key *.cert
# Create different user accounts.
Redfish.Login
+
+ Redfish Power Off
+ Set BIOS Attribute pvm_hmc_managed Enabled
+
Redfish Power On
Create Users With Different Roles users=${USERS} force=${True}