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/openpower/ext_interfaces/test_savearea_management.robot b/openpower/ext_interfaces/test_savearea_management.robot
index 0ae4d6e..111d965 100644
--- a/openpower/ext_interfaces/test_savearea_management.robot
+++ b/openpower/ext_interfaces/test_savearea_management.robot
@@ -881,7 +881,8 @@
FOR ${file_name} IN @{file_list}
@{Partition_file_list} = Split String ${file_name} ,
${num_records}= Get Length ${Partition_file_list}
- Upload Partition File To BMC file_name=${Partition_file_list} status_code=${HTTP_OK} expected_message=${FILE_UPLOAD_MESSAGE} path=${PARTITION_FILE_PATH}
+ Upload Partition File To BMC file_name=${Partition_file_list}
+ ... status_code=${HTTP_OK} expected_message=${FILE_UPLOAD_MESSAGE} path=${PARTITION_FILE_PATH}
Verify Partition File On BMC ${Partition_file_list} Partition_status=1
Delete BMC Partition File ${Partition_file_list} ${HTTP_OK} ${FILE_DELETED_MESSAGE}
END
diff --git a/openpower/ext_interfaces/test_vmi.robot b/openpower/ext_interfaces/test_vmi.robot
index 0bc0a17..b523796 100644
--- a/openpower/ext_interfaces/test_vmi.robot
+++ b/openpower/ext_interfaces/test_vmi.robot
@@ -180,8 +180,8 @@
FOR ${i} IN RANGE ${2}
Redfish Power Off
Redfish Power On
- Verify VMI Network Interface Details ${vmi_ip_config["IPv4_Address"]} DHCP ${vmi_ip_config["IPv4_Gateway"]}
- ... ${vmi_ip_config["IPv4_SubnetMask"]}
+ Verify VMI Network Interface Details ${vmi_ip_config["IPv4_Address"]}
+ ... DHCP ${vmi_ip_config["IPv4_Gateway"]} ${vmi_ip_config["IPv4_SubnetMask"]}
END
@@ -238,8 +238,8 @@
${curr_origin}= Get Immediate Child Parameter From VMI Network Interface DHCPEnabled
Run Keyword If ${curr_origin} == ${False} Set VMI IPv4 Origin ${True} ${HTTP_ACCEPTED}
${vmi_ip_config}= Get VMI Network Interface Details
- Verify VMI Network Interface Details ${vmi_ip_config["IPv4_Address"]} DHCP ${vmi_ip_config["IPv4_Gateway"]}
- ... ${vmi_ip_config["IPv4_SubnetMask"]}
+ Verify VMI Network Interface Details ${vmi_ip_config["IPv4_Address"]}
+ ... DHCP ${vmi_ip_config["IPv4_Gateway"]} ${vmi_ip_config["IPv4_SubnetMask"]}
Verify User Cannot Delete VMI DHCP IP Address
[Documentation] Verify user cannot delete VMI DHCP IP Address
diff --git a/openpower/ext_interfaces/test_vmicert_management.robot b/openpower/ext_interfaces/test_vmicert_management.robot
index 949cd4a..de44cda 100644
--- a/openpower/ext_interfaces/test_vmicert_management.robot
+++ b/openpower/ext_interfaces/test_vmicert_management.robot
@@ -625,8 +625,10 @@
# file_name Name of CSR or signed CERT file.
# is_csr_file A True value means a CSR while a False is for signed CERT file.
- ${subject}= Run Keyword If ${is_csr_file} Run openssl req -in ${file_name} -text -noout | grep Subject:
- ... ELSE Run openssl x509 -in ${file_name} -text -noout | grep Subject:
+ ${subject}= Run Keyword If ${is_csr_file}
+ ... Run openssl req -in ${file_name} -text -noout | grep Subject:
+ ... ELSE
+ ... Run openssl x509 -in ${file_name} -text -noout | grep Subject:
[Return] ${subject}