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_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py | |
| 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_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py')
| -rw-r--r-- | tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py b/tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py index 56a98c1ef8..88935ae4d1 100644 --- a/tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py +++ b/tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py @@ -66,7 +66,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)) ) |
