Skip to content

Commit 2c4abd7

Browse files
wenyiz2021abdosi
authored andcommitted
[chassis] Fix test_default_route.py for chassis (#7825)
* Fix test_default_route.py - pass argument in get_uplink_ns Co-authored-by: abdosi <[email protected]>
1 parent a375177 commit 2c4abd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/route/test_default_route.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_upstream_neigh(tb, device_neigh_metadata):
5858
upstream_neighbors.update({neigh_name: (ipv4_addr, ipv6_addr)})
5959
return upstream_neighbors
6060

61-
def get_uplink_ns(tbinfo, bgp_name_to_ns_mapping):
61+
def get_uplink_ns(tbinfo, bgp_name_to_ns_mapping, device_neigh_metadata):
6262
neigh_type = get_upstream_neigh_type(tbinfo['topo']['type'])
6363
asics = set()
6464
for name, asic in bgp_name_to_ns_mapping.items():

0 commit comments

Comments
 (0)