summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_auth/test_bgp_auth3.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_auth/test_bgp_auth3.py')
-rw-r--r--tests/topotests/bgp_auth/test_bgp_auth3.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/topotests/bgp_auth/test_bgp_auth3.py b/tests/topotests/bgp_auth/test_bgp_auth3.py
index 2237c6b1..d103d807 100644
--- a/tests/topotests/bgp_auth/test_bgp_auth3.py
+++ b/tests/topotests/bgp_auth/test_bgp_auth3.py
@@ -32,14 +32,12 @@ for bgp instances
"""
# pylint: disable=C0413
-import json
import os
import platform
import sys
-from time import sleep
import pytest
-from lib import common_config, topotest
+from lib import topotest
from lib.common_config import (
save_initial_config_on_routers,
reset_with_new_configs,
@@ -155,7 +153,7 @@ def setup_module(mod):
router_list = tgen.routers()
# For all registered routers, load the zebra configuration file
- for rname, router in router_list.items():
+ for _, router in router_list.items():
router.load_config(TopoRouter.RD_ZEBRA, "zebra.conf")
router.load_config(TopoRouter.RD_OSPF, "")
router.load_config(TopoRouter.RD_BGP, "")