Fix Line is too long in test suite
+ ipmi/test_ipmi_network_verificaton.robot
W: 208, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 224, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 276, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 286, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 295, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 368, 110: Line is too long (exceeds 110 characters) (LineTooLong)
+ ipmi/test_ipmi_poh_counter.robot
W: 22, 110: Line is too long (exceeds 110 characters) (LineTooLong)
+ ipmi/test_ipmi_user.robot
W: 386, 110: Line is too long (exceeds 110 characters) (LineTooLong)
+ ipmi/test_ipmi_cold_reset.robot
W: 95, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 176, 110: Line is too long (exceeds 110 characters) (LineTooLong
+ ipmi/test_ipmi_inband_sdr.robot
W: 204, 110: Line is too long (exceeds 110 characters) (LineTooLong)
+ ipmi/test_ipmi_chassis.robot
W: 64, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 74, 110: Line is too long (exceeds 110 characters) (LineTooLong)
+ ipmi/test_ipmi_sel_time.robot
W: 7, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 9, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 13, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 15, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 186, 110: Line is too long (exceeds 110 characters) (LineTooLong)
+ ipmi/test_ipmi_systeminfo_parameters.robot
W: 98, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 109, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 154, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 175, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 211, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 293, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 313, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 421, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 422, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 441, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 442, 110: Line is too long (exceeds 110 characters) (LineTooLong)
W: 498, 110: Line is too long (exceeds 110 characters) (LineTooLong)
Change-Id: I193c22c648e9fe77f017896a4ca19e35cd7adfc2
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ipmi/test_ipmi_network_verificaton.robot b/ipmi/test_ipmi_network_verificaton.robot
index fd3e614..b1d4075 100644
--- a/ipmi/test_ipmi_network_verificaton.robot
+++ b/ipmi/test_ipmi_network_verificaton.robot
@@ -204,8 +204,9 @@
${Invalid_mac_address_hex}= Mac Address To Hex String ${Invalid_mac_address}
# Set MAC Address with invalid data.
- ${ipmi_set_output}= Run Inband IPMI Raw Command
- ... ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} ${CHANNEL_NUMBER} 0x05 ${Invalid_mac_address_hex} fail_on_err=0
+ ${cmd}= Catenate ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} ${CHANNEL_NUMBER}
+ ... 0x05 ${Invalid_mac_address_hex} fail_on_err=0
+ ${ipmi_set_output}= Run Inband IPMI Raw Command ${cmd}
Should Contain ${ipmi_set_output} ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][3]}
@@ -220,8 +221,9 @@
${mac_address_hex}= Mac Address To Hex String ${set_mac_address}
# Set the MAC address.
- ${ipmi_set_output}= Run Inband IPMI Raw Command
- ... ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} ${CHANNEL_NUMBER} 0x05 ${mac_address_hex} fail_on_err=0
+ ${cmd}= Catenate ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} ${CHANNEL_NUMBER}
+ ... 0x05 ${mac_address_hex} fail_on_err=0
+ ${ipmi_set_output}= Run Inband IPMI Raw Command ${cmd}
# Get the MAC address and verify.
${ipmi_output}= Run Inband IPMI Raw Command
@@ -273,7 +275,8 @@
# Set IP address source to address loaded by BIOS or system software.
${ipmi_output}= Run Keyword and Expect Error *${IPMI_RAW_CMD['LAN_Config_Params']['Set'][3]}*
- ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} 0x0${CHANNEL_NUMBER} 0x04 0x03
+ ... Run Inband IPMI Raw Command
+ ... ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} 0x0${CHANNEL_NUMBER} 0x04 0x03
Verify IP Address Source Set To Address Obtained By BMC
@@ -283,7 +286,8 @@
# Set IP address source to address obtained by BMC running other address assignment protocol
${ipmi_output}= Run Keyword and Expect Error *${IPMI_RAW_CMD['LAN_Config_Params']['Set'][3]}*
- ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} 0x0${CHANNEL_NUMBER} 0x04 0x04
+ ... Run Inband IPMI Raw Command
+ ... ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} 0x0${CHANNEL_NUMBER} 0x04 0x04
Verify IP Address Source Set To Unspecified Address Source
@@ -292,7 +296,8 @@
# Set IP address source to unspecified address source.
${ipmi_output}= Run Keyword and Expect Error *${IPMI_RAW_CMD['LAN_Config_Params']['Set'][3]}*
- ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} 0x0${CHANNEL_NUMBER} 0x04 0x00
+ ... Run Inband IPMI Raw Command
+ ... ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} 0x0${CHANNEL_NUMBER} 0x04 0x00
*** Keywords ***
@@ -364,8 +369,9 @@
${default_mac_address_hex}= Mac Address To Hex String ${set_default_mac}
# Set the Default MAC address.
- ${ipmi_set_output}= Run Inband IPMI Raw Command
- ... ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} ${CHANNEL_NUMBER} 0x05 ${default_mac_address_hex} fail_on_err=0
+ ${cmd}= Catenate ${IPMI_RAW_CMD['LAN_Config_Params']['Set'][0]} ${CHANNEL_NUMBER}
+ ... 0x05 ${default_mac_address_hex} fail_on_err=0
+ ${ipmi_set_output}= Run Inband IPMI Raw Command ${cmd}
# check whether the default MAC is set.
${ipmi_get_mac}= Run Inband IPMI Raw Command