summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_vrf_netns
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-18 14:03:49 -0400
committerMark Stapp <mjs@voltanet.io>2020-09-18 15:55:23 -0400
commite5f0ed147b18d2ea03703884921a656d4f7e6a30 (patch)
treed53355edffd996787c4a34aaffb89a16ff50de7d /tests/topotests/bgp_vrf_netns
parent27baa2c0565c3c96111aeb1eb4db4b0afe7cc8b7 (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_vrf_netns')
-rw-r--r--[-rwxr-xr-x]tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py b/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py
index ae48f01a0e..30bb9595b7 100755..100644
--- a/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py
+++ b/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py
@@ -140,7 +140,7 @@ def setup_module(module):
# Starting Hosts and init ExaBGP on each of them
logger.info("starting exaBGP on peer1")
peer_list = tgen.exabgp_peers()
- for pname, peer in peer_list.iteritems():
+ for pname, peer in peer_list.items():
peer_dir = os.path.join(CWD, pname)
env_file = os.path.join(CWD, "exabgp.env")
logger.info("Running ExaBGP peer")