Fix Line has trailing whitespace (TrailingWhitespace)
Changes:
- Remove trailing white spaces in code
Tested:
- NA
Change-Id: I6eb73386d46e6f189f127d0a64a5156d3c4c2854
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/gui/lib/gui_resource.robot b/gui/lib/gui_resource.robot
index d7dcafa..2fceed4 100644
--- a/gui/lib/gui_resource.robot
+++ b/gui/lib/gui_resource.robot
@@ -246,5 +246,3 @@
ELSE
Log To console Server is already powered Off, can't reboot.
END
-
-
diff --git a/lib/dmtf_redfishtool_utils.robot b/lib/dmtf_redfishtool_utils.robot
index b8df802..089bab3 100644
--- a/lib/dmtf_redfishtool_utils.robot
+++ b/lib/dmtf_redfishtool_utils.robot
@@ -60,7 +60,7 @@
# cmd_args Commandline arguments.
# expected_error Expected error optionally provided in testcase (e.g. 401 /
# authentication error, etc. ).
-
+
${cmd}= Catenate ${cmd_args} POST ${uri} --data=${payload}
Log ${cmd}
${rc} ${cmd_output}= Run and Return RC and Output ${cmd}
diff --git a/openpower/vpd/test_vpd_tool.robot b/openpower/vpd/test_vpd_tool.robot
index e8d8d44..0bda1db 100644
--- a/openpower/vpd/test_vpd_tool.robot
+++ b/openpower/vpd/test_vpd_tool.robot
@@ -48,7 +48,8 @@
${vpd_records}= Vpdtool -i
${components}= Get Dictionary Keys ${vpd_records}
FOR ${component} IN @{components}
- # drive component field values response in ascii format due to that skipping here.
+ # Drive component field values response in ascii format
+ # due to that skipping here.
IF 'drive' in '${component}'
Continue FOR Loop
ELSE
@@ -92,17 +93,17 @@
${vpdtool_res}= Set To Dictionary ${vpd_records}[${component}]
FOR ${vpd_field} IN @{fields}
- ${match_key_exists}= Run Keyword And Return Status
+ ${match_key_exists}= Run Keyword And Return Status
... Dictionary Should Contain Key ${vpdtool_res} ${vpd_field}
IF '${match_key_exists}' == 'True'
# drive components busctl field response in ascii due to that checking only locationcode.
IF 'drive' in '${component}'
${vpd_field}= Set Variable LocationCode
END
- # Skip check if VPD field is empty.
+ # Skip check if VPD field is empty.
Run Keyword If '${vpd_records['${component}']['${vpd_field}']}' == ''
... Continue For Loop
-
+
# Get VPD field values via busctl.
${busctl_field}= Set Variable If
... '${vpd_field}' == 'LocationCode' com.ibm.ipzvpd.Location LocationCode
@@ -112,7 +113,7 @@
... /xyz/openbmc_project/inventory${component} ${busctl_field}
${cmd_output}= BMC Execute Command ${cmd}
# Check whether the vpdtool response and busctl response matching.
- Valid Value vpd_records['${component}']['${vpd_field}']
+ Valid Value vpd_records['${component}']['${vpd_field}']
... ['${cmd_output[0].split('"')[1].strip('"')}']
ELSE
Continue For Loop
diff --git a/redfish/managers/test_managers_bmc_time.robot b/redfish/managers/test_managers_bmc_time.robot
index a9796f9..591aafa 100644
--- a/redfish/managers/test_managers_bmc_time.robot
+++ b/redfish/managers/test_managers_bmc_time.robot
@@ -348,7 +348,7 @@
... valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
Wait Until Keyword Succeeds 1 min 10 sec Check Date And Time Was Changed
-
+
Check Date And Time Was Changed
[Documentation] Verify date was current date and time.