Fix code trailing whitespace and LineTooLong in suites
Changes:
- Line has trailing whitespace (TrailingWhitespace)
- Line is too long (exceeds 110 characters) (LineTooLong)
Testing:
python3 -m rflint -rA robot_standards -R robot_custom_rules.py .
Change-Id: I6e5dcbbb94ddc87f9b49b309b86fbcce86684090
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/account_service/test_ldap_configuration.robot b/redfish/account_service/test_ldap_configuration.robot
index 9559b82..04ff9dc 100644
--- a/redfish/account_service/test_ldap_configuration.robot
+++ b/redfish/account_service/test_ldap_configuration.robot
@@ -552,7 +552,7 @@
... ${valid_status_codes}=[${HTTP_OK}]
[Teardown] Run Keyword If '${group_privilege}'=='NoAccess' Redfish.Login
... ELSE Run Keywords Redfish.Logout AND Redfish.Login
-
+
# Description of argument(s):
# group_name The group name of user.
# group_privilege The group privilege ("Administrator",
@@ -724,7 +724,7 @@
Restore LDAP Privilege
[Documentation] Restore the LDAP privilege to its original value.
-
+
Redfish.Login
Return From Keyword If '${old_ldap_privilege}' == '${EMPTY}' or '${old_ldap_privilege}' == '[]'
# Log back in to restore the original privilege.
diff --git a/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot b/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot
index c34b310..798db2e 100644
--- a/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot
+++ b/redfish/dmtf_tools/Redfish_Usecase_Checkers.robot
@@ -86,5 +86,3 @@
Print Timen Doing "DMTF Power".
Run DMTF Tool ${rsv_dir_path} ${command_power_control}
-
-
diff --git a/redfish/extended/redfish_host_code_update.robot b/redfish/extended/redfish_host_code_update.robot
index d8832b0..006e711 100644
--- a/redfish/extended/redfish_host_code_update.robot
+++ b/redfish/extended/redfish_host_code_update.robot
@@ -43,7 +43,8 @@
${num_records}= Get Length ${functional_sw_inv}
- Run Keyword If ${num_records} != 0 Pass Execution If '${functional_sw_inv['version']}' == '${image_version}'
+ Run Keyword If ${num_records} != 0
+ ... Pass Execution If '${functional_sw_inv['version']}' == '${image_version}'
... The existing ${image_version} firmware is already functional.
${post_code_update_actions}= Get Post Boot Action