Fix deprecated keyword used in test suites
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
- Keyword name Check If BMC is Up does not
follow case convention
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: I3ab23d14b1b18ef409cfc469af68fe7368391c68
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/xcat/test_xcat_group.robot b/xcat/test_xcat_group.robot
index 34e6496..5443d6a 100644
--- a/xcat/test_xcat_group.robot
+++ b/xcat/test_xcat_group.robot
@@ -218,6 +218,8 @@
[Arguments] ${node} ${flag}=ON
${status}= Get Power Status ${node}
- Run Keyword If '${flag}' == 'ON'
- ... Should Contain ${status} on msg=Host is off.
- ... ELSE Should Contain ${status} off msg=Host is on.
+ IF '${flag}' == 'ON'
+ Should Contain ${status} on msg=Host is off.
+ ELSE
+ Should Contain ${status} off msg=Host is on.
+ END