Code documentation and robot standard line checks
Changes:
- Too many trailing blank lines
- Line is too long (exceeds 110 characters)
Tested:
- python3 -m rflint -rA robot_standards -R robot_custom_rules.py
files checked in
Change-Id: Ic3561bd4cfe5debdd4e05769016fa81eef02eff3
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_multiple_interfaces_dhcp.robot b/redfish/managers/test_multiple_interfaces_dhcp.robot
index 49a886b..35baaec 100644
--- a/redfish/managers/test_multiple_interfaces_dhcp.robot
+++ b/redfish/managers/test_multiple_interfaces_dhcp.robot
@@ -22,7 +22,8 @@
*** Test Cases ***
Disable DHCP On Eth1 And Verify System Is Accessible By Eth0
- [Documentation] Disable DHCP on eth1 using Redfish and verify if system is accessible by eth0.
+ [Documentation] Disable DHCP on eth1 using Redfish and verify
+ ... if system is accessible by eth0.
[Tags] Disable_DHCP_On_Eth1_And_Verify_System_Is_Accessible_By_Eth0
[Teardown] Set DHCPEnabled To Enable Or Disable True eth1
@@ -30,7 +31,8 @@
Wait For Host To Ping ${OPENBMC_HOST} ${NETWORK_TIMEOUT}
Enable DHCP On Eth1 And Verify System Is Accessible By Eth0
- [Documentation] Enable DHCP on eth1 using Redfish and verify if system is accessible by eth0.
+ [Documentation] Enable DHCP on eth1 using Redfish and verify if system
+ ... is accessible by eth0.
[Tags] Enable_DHCP_On_Eth1_And_Verify_System_Is_Accessible_By_Eth0
[Setup] Set DHCPEnabled To Enable Or Disable False eth1
@@ -41,12 +43,14 @@
Set DHCPEnabled To Enable Or Disable
[Documentation] Enable or Disable DHCP on the interface.
- [Arguments] ${dhcp_enabled}=${False} ${interface}=${ethernet_interface} ${valid_status_code}=[${HTTP_OK},${HTTP_ACCEPTED}]
+ [Arguments] ${dhcp_enabled}=${False} ${interface}=${ethernet_interface}
+ ... ${valid_status_code}=[${HTTP_OK},${HTTP_ACCEPTED}]
# Description of argument(s):
# dhcp_enabled False for disabling DHCP and True for Enabling DHCP.
# interface eth0 or eth1. Default is eth1.
- # valid_status_code Expected valid status code from Patch request. Default is HTTP_OK.
+ # valid_status_code Expected valid status code from Patch request.
+ # Default is HTTP_OK.
${data}= Set Variable If ${dhcp_enabled} == ${False} ${DISABLE_DHCP} ${ENABLE_DHCP}
${resp}= Redfish.Patch