diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-09-18 14:03:49 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-09-18 15:55:23 -0400 |
| commit | e5f0ed147b18d2ea03703884921a656d4f7e6a30 (patch) | |
| tree | d53355edffd996787c4a34aaffb89a16ff50de7d /tests/topotests/bgp_link_bw_ip | |
| parent | 27baa2c0565c3c96111aeb1eb4db4b0afe7cc8b7 (diff) | |
tests: use .items instead of .iteritems in topotests
Avoid py2-only .iteritems() api.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'tests/topotests/bgp_link_bw_ip')
| -rw-r--r--[-rwxr-xr-x] | tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py b/tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py index 86eb2969ce..dff69e3a27 100755..100644 --- a/tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py +++ b/tests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py @@ -119,7 +119,7 @@ def setup_module(mod): tgen.start_topology() router_list = tgen.routers() - for rname, router in router_list.iteritems(): + for rname, router in router_list.items(): router.load_config( TopoRouter.RD_ZEBRA, os.path.join(CWD, '{}/zebra.conf'.format(rname)) |
