Update test suite to take redfish login and logout
Changes:
- Added PLDM platform code to get redfish logout and logout.
- Added Suite Setup and teardown for sanity ras test suite.
Change-Id: Idbb40b8ff78e30a5bea3cf03749e8541870b99d7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/openpower/ras/test_sanity.robot b/openpower/ras/test_sanity.robot
index 3c70527..e8ab3a1 100644
--- a/openpower/ras/test_sanity.robot
+++ b/openpower/ras/test_sanity.robot
@@ -10,10 +10,10 @@
Variables ../../lib/ras/variables.py
Variables ../../data/variables.py
-Suite Setup Redfish Power On
+Suite Setup Suite Setup Execution
Test Setup Printn
Test Teardown FFDC On Test Case Fail
-
+Suite Teardown Suite Setup Teardown
*** Variables ***
${proc_chip_id} 0
@@ -38,3 +38,17 @@
[Documentation] Do getmem operation.
[Tags] Test_BMC_Getmem
Pdbg -p${proc_chip_id} getmem 0x${mem_address} ${count}
+
+*** Keywords ***
+
+Suite Setup Execution
+ [Documentation] Do the suite setup.
+
+ Redfish.Login
+ Redfish Power On
+
+
+Suite Setup Teardown
+ [Documentation] Do the suite setup.
+
+ Redfish.Logout