summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py
diff options
context:
space:
mode:
authorY Bharath <y.bharath@samsung.com>2024-06-15 22:36:32 +0530
committerY Bharath <y.bharath@samsung.com>2024-06-17 15:42:59 +0530
commit8381dbd9e258825daff4802c4c44b3d435a7b7e3 (patch)
tree9e2884a629e76f7b68ea9e40a98c6db7b5411814 /tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py
parent045029e2442dbca3b6e7685438d171fa05c0f968 (diff)
tests: Avoid importing unused modules
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py b/tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py
index 62b8212203..7c37af02ac 100644
--- a/tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py
+++ b/tests/topotests/ospf_basic_functionality/test_ospf_flood_reduction.py
@@ -51,7 +51,6 @@ from lib.common_config import (
create_static_routes,
step,
topo_daemons,
- shutdown_bringup_interface,
check_router_status,
start_topology,
write_test_header,
@@ -65,8 +64,6 @@ from lib.common_config import (
write_test_header,
write_test_footer,
reset_config_on_routers,
- stop_router,
- start_router,
step,
create_static_routes,
kill_router_daemons,
@@ -163,7 +160,7 @@ def setup_module(mod):
logger.info("Running setup_module() done")
-def teardown_module(mod):
+def teardown_module():
"""
Teardown the pytest environment.