Update test documentation and spacing
Changes:
- No testcase documentation (RequireTestDocumentation)
- Line has trailing whitespace (TrailingWhitespace)
- Line is too long (exceeds 110 characters) (LineTooLong)
Tested:
- python3 -m rflint -rA robot_standards -R robot_custom_rules.py <suites>
o
Change-Id: I65428f73132c9d539b98a030458c455d1db1f116
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ipmi/test_ipmi_fru.robot b/ipmi/test_ipmi_fru.robot
index 6c50750..ced0622 100644
--- a/ipmi/test_ipmi_fru.robot
+++ b/ipmi/test_ipmi_fru.robot
@@ -25,7 +25,8 @@
... ${fru_objs}
# Redfish FRU info.
- ${redfish_power_details}= Redfish.Get Members List /redfish/v1/Chassis/${CHASSIS_ID}/PowerSubsystem/PowerSupplies
+ ${redfish_power_details}= Redfish.Get Members List
+ ... /redfish/v1/Chassis/${CHASSIS_ID}/PowerSubsystem/PowerSupplies
${redfish_power_dict}= Create List
FOR ${power_supply} IN @{redfish_power_details}
${redfish_power_supply_reading}= Redfish.Get Properties ${power_supply}
diff --git a/ipmi/test_ipmi_payload.robot b/ipmi/test_ipmi_payload.robot
index 18b5e6c..b4ff0c7 100644
--- a/ipmi/test_ipmi_payload.robot
+++ b/ipmi/test_ipmi_payload.robot
@@ -386,7 +386,8 @@
Set User Access Payload For Given User
[Documentation] Set the user access payload on given user, channel and return response.
- [Arguments] ${user_id} ${operation_mode}=Enable ${oempayload_value}=0x00 ${standard_payload_value}=0x02
+ [Arguments] ${user_id} ${operation_mode}=Enable ${oempayload_value}=0x00
+ ... ${standard_payload_value}=0x02
# Description of argument(s):
# user_id The user ID (e.g. "1", "2", etc.).
diff --git a/ipmi/test_ipmi_sel_time.robot b/ipmi/test_ipmi_sel_time.robot
index 7263c01..0265b3c 100644
--- a/ipmi/test_ipmi_sel_time.robot
+++ b/ipmi/test_ipmi_sel_time.robot
@@ -42,7 +42,7 @@
${NETWORK_RESTART_TIME} 5s
@{time_difference_list} +8760:153:25 -87600:453:120 +175200:40:15 -43800:10:05 +20:35:12 -8760:00:00
-# Based on 13th byte of add SEL entry command as per IPMI spec
+# Based on 13th byte of add SEL entry command as per IPMI spec
# event_dir and event_type variable value needs to be given.
${sel_no_entry_msg} SEL has no entries
${event_type} Lower Non-critical going low
diff --git a/ipmi/test_ipmi_sensor.robot b/ipmi/test_ipmi_sensor.robot
index 9978424..ff39c2f 100644
--- a/ipmi/test_ipmi_sensor.robot
+++ b/ipmi/test_ipmi_sensor.robot
@@ -126,7 +126,7 @@
${ipmi_temp_list}= Create List
FOR ${line} IN @{lines}
${baseboard_temp_ipmi}= Set Variable ${line.split('+')[1].strip(' C')}
- Append To List ${ipmi_temp_list} ${baseboard_temp_ipmi}
+ Append To List ${ipmi_temp_list} ${baseboard_temp_ipmi}
END
${list_length}= Get Length ${ipmi_temp_list}
@@ -284,7 +284,8 @@
# member_id Member id of temperature.
@{thermal_uri}= redfish_utils.Get Member List /redfish/v1/Chassis/
- @{redfish_readings}= redfish_utils.Get Attribute ${thermal_uri[0]}/${THERMAL_METRICS} TemperatureReadingsCelsius
+ @{redfish_readings}= redfish_utils.Get Attribute
+ ... ${thermal_uri[0]}/${THERMAL_METRICS} TemperatureReadingsCelsius
# Example of Baseboard temperature via Redfish