diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-09-18 18:15:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-18 18:15:43 -0400 |
| commit | d6b4fbb7238e3a13ee40f42d6379aaa8dac4fd37 (patch) | |
| tree | 4c4bc20b9e2fa52e70326d58587a2b892f7f461d /tests/topotests/bgp_sender-as-path-loop-detection/test_bgp_sender-as-path-loop-detection.py | |
| parent | bd1b1a17747a0fa4505aaae21f4973b92adfacc2 (diff) | |
| parent | e5f0ed147b18d2ea03703884921a656d4f7e6a30 (diff) | |
Merge pull request #7131 from mjstapp/fix_topo_py2_iter
tests: use .items instead of .iteritems in topotests
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)) ) |
