mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 02:46:34 +00:00
Merge pull request #7758 from donaldsharp/tests_dict_values
tests: dict_values are not lists in version 3
This commit is contained in:
commit
de5cc49361
@ -2129,7 +2129,9 @@ def verify_bgp_attributes(
|
||||
dict_to_test = []
|
||||
tmp_list = []
|
||||
|
||||
if "route_maps" in input_dict.values()[0]:
|
||||
dict_list = list(input_dict.values())[0]
|
||||
|
||||
if "route_maps" in dict_list:
|
||||
for rmap_router in input_dict.keys():
|
||||
for rmap, values in input_dict[rmap_router]["route_maps"].items():
|
||||
if rmap == rmap_name:
|
||||
|
Loading…
Reference in New Issue
Block a user