summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_as_wide_bgp_identifier
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-18 20:03:49 +0200
committerMark Stapp <mjs@voltanet.io>2020-09-18 21:55:23 +0200
commite5f0ed147b18d2ea03703884921a656d4f7e6a30 (patch)
treed53355edffd996787c4a34aaffb89a16ff50de7d /tests/topotests/bgp_as_wide_bgp_identifier
parentMerge pull request #7086 from ckishimo/flush_type5 (diff)
downloadfrr-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.py2
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))
)