From 4953ca977f3a5de8109ee6353ad07f816ca1774c Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 3 Sep 2021 08:43:32 -0400 Subject: tests: cleanup - remove unused imports Signed-off-by: Christian Hopps --- tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py') diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py b/tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py index 6c8571fa9d..a578272e21 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_ecmp.py @@ -26,9 +26,7 @@ import os import sys import time import pytest -import json from time import sleep -from copy import deepcopy # Save the Current Working Directory to find configuration files. CWD = os.path.dirname(os.path.realpath(__file__)) @@ -37,9 +35,7 @@ sys.path.append(os.path.join(CWD, "../lib/")) # pylint: disable=C0413 # Import topogen and topotest helpers -from lib.micronet_compat import Topo from lib.topogen import Topogen, get_topogen -from ipaddress import IPv4Address # Import topoJson from lib, to create topology and initial configuration from lib.common_config import ( @@ -50,21 +46,16 @@ from lib.common_config import ( verify_rib, create_static_routes, step, - create_route_maps, shutdown_bringup_interface, - create_interfaces_cfg, topo_daemons, ) from lib.topolog import logger -from lib.topojson import build_topo_from_json, build_config_from_json +from lib.topojson import build_config_from_json from lib.ospf import ( verify_ospf_neighbor, config_ospf_interface, - clear_ospf, verify_ospf_rib, - create_router_ospf, - verify_ospf_interface, redistribute_ospf, ) -- cgit v1.2.3