Update IPMI robot test code with latest directives
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
- Exit For Loop If is deprecated since Robot
Framework version 5.*, use
IF '${var}' == 'EXIT' BREAK
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: If2fd8636b388250fc4dbc4576169f7250983c4ef
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ipmi/test_ipmi_poh_counter.robot b/ipmi/test_ipmi_poh_counter.robot
index ba6fed1..2f0e061 100644
--- a/ipmi/test_ipmi_poh_counter.robot
+++ b/ipmi/test_ipmi_poh_counter.robot
@@ -156,8 +156,7 @@
# If Host state is 'On' then the condition will not be executed.
# Host may take approx 5 - 6 minutes to complete power ON process.
- Run Keyword If '${current_host_state}' == 'Off'
- ... IPMI Power On
+ IF '${current_host_state}' == 'Off' IPMI Power On
Suite Teardown Execution