summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_route_aggregation
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-09-03 08:43:32 -0400
committerChristian Hopps <chopps@labn.net>2021-09-04 09:04:47 -0400
commit4953ca977f3a5de8109ee6353ad07f816ca1774c (patch)
tree447a3e8475b38653269d2cb3e98ec0118c783bf3 /tests/topotests/bgp_route_aggregation
parent57f774f56d25f2906dc4072488572fe274ed3910 (diff)
tests: cleanup - remove unused imports
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/bgp_route_aggregation')
-rw-r--r--tests/topotests/bgp_route_aggregation/test_bgp_aggregation.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/topotests/bgp_route_aggregation/test_bgp_aggregation.py b/tests/topotests/bgp_route_aggregation/test_bgp_aggregation.py
index 007e640f58..1367d77e55 100644
--- a/tests/topotests/bgp_route_aggregation/test_bgp_aggregation.py
+++ b/tests/topotests/bgp_route_aggregation/test_bgp_aggregation.py
@@ -31,10 +31,7 @@ Following tests are covered to test bgp aggregation functionality:
import os
import sys
import time
-import json
import pytest
-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__))
@@ -42,15 +39,12 @@ sys.path.append(os.path.join(CWD, "../"))
# pylint: disable=C0413
# Import topogen and topotest helpers
-from lib import topotest
-from lib.micronet_compat import Topo
from lib.topogen import Topogen, get_topogen
# Import topoJson from lib, to create topology and initial configuration
from lib.common_config import (
start_topology,
write_test_header,
- apply_raw_config,
write_test_footer,
reset_config_on_routers,
verify_rib,
@@ -66,9 +60,8 @@ from lib.bgp import (
create_router_bgp,
verify_bgp_rib,
verify_bgp_community,
- verify_bgp_timers_and_functionality,
)
-from lib.topojson import build_topo_from_json, build_config_from_json
+from lib.topojson import build_config_from_json
pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]