summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_auth/test_bgp_auth3.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-17 07:11:26 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-17 07:11:26 +0100
commitd5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6 (patch)
tree705ea89e798053f9c227b85512bc9f5b437b0093 /tests/topotests/bgp_auth/test_bgp_auth3.py
parentReleasing debian version 10.1.1-3. (diff)
downloadfrr-d5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6.tar.xz
frr-d5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6.zip
Merging upstream version 10.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
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, "")