diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-09-18 20:03:49 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-09-18 21:55:23 +0200 |
commit | e5f0ed147b18d2ea03703884921a656d4f7e6a30 (patch) | |
tree | d53355edffd996787c4a34aaffb89a16ff50de7d /tests/topotests/bgp_as_wide_bgp_identifier | |
parent | Merge pull request #7086 from ckishimo/flush_type5 (diff) | |
download | frr-e5f0ed147b18d2ea03703884921a656d4f7e6a30.tar.xz frr-e5f0ed147b18d2ea03703884921a656d4f7e6a30.zip |
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_as_wide_bgp_identifier')
-rw-r--r-- | tests/topotests/bgp_as_wide_bgp_identifier/test_bgp_as_wide_bgp_identifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_as_wide_bgp_identifier/test_bgp_as_wide_bgp_identifier.py b/tests/topotests/bgp_as_wide_bgp_identifier/test_bgp_as_wide_bgp_identifier.py index 459af486f..02edb62ca 100644 --- a/tests/topotests/bgp_as_wide_bgp_identifier/test_bgp_as_wide_bgp_identifier.py +++ b/tests/topotests/bgp_as_wide_bgp_identifier/test_bgp_as_wide_bgp_identifier.py @@ -65,7 +65,7 @@ def setup_module(mod): router_list = tgen.routers() - for i, (rname, router) in enumerate(router_list.iteritems(), 1): + for i, (rname, router) in enumerate(router_list.items(), 1): router.load_config( TopoRouter.RD_ZEBRA, os.path.join(CWD, "{}/zebra.conf".format(rname)) ) |