Change from :FOR to FOR/END robot syntax
Change-Id: I984e7b17b87c23df2a4ef333a6c4938635c20747
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index c8d380f..783cde1 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -79,11 +79,11 @@
Append To List ${id_list} ${random_invalid_id}
Append To List ${id_list} 0
- :FOR ${id} IN @{id_list}
- \ ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
- \ ... user set name ${id} newuser
- \ Should Contain ${msg} User ID is limited to range
-
+ FOR ${id} IN @{id_list}
+ ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
+ ... user set name ${id} newuser
+ Should Contain ${msg} User ID is limited to range
+ END
Verify Setting IPMI User With Invalid Password
[Documentation] Verify error while setting IPMI user with invalid
@@ -430,10 +430,11 @@
Delete All Non Root IPMI User
[Documentation] Delete all non-root IPMI user.
- :FOR ${userid} IN RANGE 2 16
- \ ${user_info}= Get User Info ${userid}
- \ Run Keyword If "${user_info['user_name']}" != ""
- ... Run IPMI Standard Command user set name ${userid} ""
+ FOR ${userid} IN RANGE 2 16
+ ${user_info}= Get User Info ${userid}
+ Run Keyword If "${user_info['user_name']}" != ""
+ ... Run IPMI Standard Command user set name ${userid} ""
+ END
Test Teardown Execution