summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_template.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-09-18 18:15:43 -0400
committerGitHub <noreply@github.com>2020-09-18 18:15:43 -0400
commitd6b4fbb7238e3a13ee40f42d6379aaa8dac4fd37 (patch)
tree4c4bc20b9e2fa52e70326d58587a2b892f7f461d /tests/topotests/example-test/test_template.py
parentbd1b1a17747a0fa4505aaae21f4973b92adfacc2 (diff)
parente5f0ed147b18d2ea03703884921a656d4f7e6a30 (diff)
Merge pull request #7131 from mjstapp/fix_topo_py2_iter
tests: use .items instead of .iteritems in topotests
Diffstat (limited to 'tests/topotests/example-test/test_template.py')
-rw-r--r--[-rwxr-xr-x]tests/topotests/example-test/test_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/example-test/test_template.py b/tests/topotests/example-test/test_template.py
index afe974876a..4305e0199f 100755..100644
--- a/tests/topotests/example-test/test_template.py
+++ b/tests/topotests/example-test/test_template.py
@@ -82,7 +82,7 @@ def setup_module(mod):
router_list = tgen.routers()
# For all registred routers, load the zebra configuration file
- for rname, router in router_list.iteritems():
+ for rname, router in router_list.items():
router.load_config(
TopoRouter.RD_ZEBRA,
# Uncomment next line to load configuration from ./router/zebra.conf