summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/bgp.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-07-21 13:33:50 +0000
committerChristian Hopps <chopps@labn.net>2021-09-04 09:04:46 -0400
commitc8e5983d8efa12eea0e91512802a84d46dd899e9 (patch)
treecef541c41d4cac9e0de71f946cebb3837844896f /tests/topotests/lib/bgp.py
parenta3cecfb608d0ca7b6f94828f7adb9d03a77250df (diff)
tests: fix pylint infra errors
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/bgp.py')
-rw-r--r--tests/topotests/lib/bgp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/topotests/lib/bgp.py b/tests/topotests/lib/bgp.py
index 051b2eb978..753b24e529 100644
--- a/tests/topotests/lib/bgp.py
+++ b/tests/topotests/lib/bgp.py
@@ -25,8 +25,6 @@ import traceback
from copy import deepcopy
from time import sleep
-import ipaddr
-
# Import common_config to use commomnly used APIs
from lib.common_config import (
create_common_configurations,
@@ -2268,7 +2266,7 @@ def verify_bgp_attributes(
"""
logger.debug("Entering lib API: {}".format(sys._getframe().f_code.co_name))
- for router, rnode in tgen.routers().iteritems():
+ for router, rnode in tgen.routers().items():
if router != dut:
continue