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/pim-basic/test_pim.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/pim-basic/test_pim.py')
| -rw-r--r-- | tests/topotests/pim-basic/test_pim.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/pim-basic/test_pim.py b/tests/topotests/pim-basic/test_pim.py index 2abee39176..e8a9f72b48 100644 --- a/tests/topotests/pim-basic/test_pim.py +++ b/tests/topotests/pim-basic/test_pim.py @@ -87,7 +87,7 @@ def setup_module(mod): tgen.start_topology() # For all registered routers, load the zebra configuration file - for rname, router in tgen.routers().iteritems(): + for rname, router in tgen.routers().items(): router.load_config( TopoRouter.RD_ZEBRA, os.path.join(CWD, "{}/zebra.conf".format(rname)) ) |
