summaryrefslogtreecommitdiffstats
path: root/tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-17 07:10:47 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-17 07:10:47 +0100
commitd785318c6f0fc8ee4b0e92eed928d0fcd5debc0c (patch)
tree9656d5d79eba42e52e7e6e208f8f8ab39b63c756 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
parentAdding upstream version 10.1.1. (diff)
downloadfrr-d785318c6f0fc8ee4b0e92eed928d0fcd5debc0c.tar.xz
frr-d785318c6f0fc8ee4b0e92eed928d0fcd5debc0c.zip
Adding upstream version 10.2.upstream/10.2
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py')
-rw-r--r--tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
index 00c98ac9..5f88f6d8 100644
--- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
+++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_authentication.py
@@ -14,9 +14,7 @@ import sys
import time
import pytest
from time import sleep
-from copy import deepcopy
import json
-from lib.topotest import frr_unicode
pytestmark = pytest.mark.ospf6d
@@ -39,11 +37,8 @@ from lib.common_config import (
shutdown_bringup_interface,
)
from lib.topolog import logger
-from lib.topojson import build_topo_from_json, build_config_from_json
-from lib.ospf import verify_ospf6_neighbor, config_ospf6_interface, clear_ospf
-from ipaddress import IPv4Address
-
-# Global variables
+from lib.topojson import build_config_from_json
+from lib.ospf import verify_ospf6_neighbor, config_ospf6_interface
topo = None
# Reading the data from JSON File for topology creation
jsonFile = "{}/ospfv3_authentication.json".format(CWD)
@@ -118,7 +113,7 @@ def setup_module(mod):
logger.info("Running setup_module() done")
-def teardown_module(mod):
+def teardown_module():
"""
Teardown the pytest environment.
* `mod`: module name