diff options
| author | Y Bharath <y.bharath@samsung.com> | 2024-06-15 22:36:32 +0530 |
|---|---|---|
| committer | Y Bharath <y.bharath@samsung.com> | 2024-06-17 15:42:59 +0530 |
| commit | 8381dbd9e258825daff4802c4c44b3d435a7b7e3 (patch) | |
| tree | 9e2884a629e76f7b68ea9e40a98c6db7b5411814 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py | |
| parent | 045029e2442dbca3b6e7685438d171fa05c0f968 (diff) | |
tests: Avoid importing unused modules
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py')
| -rw-r--r-- | tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py index 7c6773260e..95f2493c2a 100644 --- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py +++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py @@ -13,11 +13,6 @@ import os import sys import time import pytest -import json -from copy import deepcopy -from ipaddress import IPv4Address -from lib.topotest import frr_unicode -import ipaddress # Save the Current Working Directory to find configuration files. CWD = os.path.dirname(os.path.realpath(__file__)) @@ -37,9 +32,6 @@ from lib.common_config import ( verify_rib, create_static_routes, step, - create_route_maps, - shutdown_bringup_interface, - create_interfaces_cfg, get_frr_ipv6_linklocal, ) from lib.topolog import logger @@ -47,16 +39,11 @@ from lib.topojson import build_config_from_json from lib.ospf import ( verify_ospf6_neighbor, - config_ospf_interface, clear_ospf, verify_ospf6_rib, create_router_ospf, - verify_ospf6_interface, - verify_ospf6_database, - config_ospf6_interface, ) -from ipaddress import IPv6Address pytestmark = [pytest.mark.ospfd, pytest.mark.staticd] @@ -137,7 +124,7 @@ def setup_module(mod): logger.info("Running setup_module() done") -def teardown_module(mod): +def teardown_module(): """ Teardown the pytest environment. |
