Skip to content

Commit e45e81e

Browse files
Fixed indentation
Signed-off-by: Ashutosh Agrawal <ashu@cisco.com>
1 parent f96c507 commit e45e81e

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/common/dhcp_relay_utils.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def compare_dhcp_counters(dhcp_relay_counter, expected_counter, error_in_percent
9393

9494

9595
def validate_dhcpmon_counters(dhcp_relay, duthost, expected_uplink_counter,
96-
expected_downlink_counter, error_in_percentage=0.0):
96+
expected_downlink_counter, error_in_percentage=0.0):
9797
"""Validate the dhcpmon relay counters"""
9898
logger.info("Expected uplink counters: {}, expected downlink counters: {}, error in percentage: {}%".format(
9999
expected_uplink_counter, expected_downlink_counter, error_in_percentage))
@@ -116,11 +116,11 @@ def validate_dhcpmon_counters(dhcp_relay, duthost, expected_uplink_counter,
116116
if portchannel_name in portchannels.keys():
117117
uplink_interfaces.extend(portchannels[portchannel_name]['members'])
118118
portchannel_counters = query_and_sum_dhcpmon_counters(duthost,
119-
downlink_vlan_iface,
120-
[portchannel_name])
119+
downlink_vlan_iface,
120+
[portchannel_name])
121121
members_counters = query_and_sum_dhcpmon_counters(duthost,
122-
downlink_vlan_iface,
123-
portchannels[portchannel_name]['members'])
122+
downlink_vlan_iface,
123+
portchannels[portchannel_name]['members'])
124124

125125
# If the portchannel counters and its members' counters are not equal, yield a warning message
126126
compare_dhcp_counters_with_warning(
@@ -219,11 +219,11 @@ def validate_counters_and_pkts_consistency(dhcp_relay, duthost, pkts, interface_
219219
if portchannel_name in portchannels.keys():
220220
uplink_interfaces.extend(portchannels[portchannel_name]['members'])
221221
portchannel_counters = query_and_sum_dhcpmon_counters(duthost,
222-
downlink_vlan_iface,
223-
[portchannel_name])
222+
downlink_vlan_iface,
223+
[portchannel_name])
224224
members_counters = query_and_sum_dhcpmon_counters(duthost,
225-
downlink_vlan_iface,
226-
portchannels[portchannel_name]['members'])
225+
downlink_vlan_iface,
226+
portchannels[portchannel_name]['members'])
227227

228228
# If the portchannel counters and its members' counters are not equal, yield a warning message
229229

0 commit comments

Comments
 (0)