summaryrefslogtreecommitdiffstats
path: root/tests/topotests/zebra_seg6_route
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-08-27 20:28:29 +0200
committerChristian Hopps <chopps@labn.net>2021-09-04 15:04:46 +0200
commit8db751b853560377ebd640c729ecb4e155e6a6d7 (patch)
tree51a8419faf7cc64401f05b13c95a30895c5cd2f9 /tests/topotests/zebra_seg6_route
parenttests: micronet: update infra (diff)
downloadfrr-8db751b853560377ebd640c729ecb4e155e6a6d7.tar.xz
frr-8db751b853560377ebd640c729ecb4e155e6a6d7.zip
tests: micronet: adapt tests
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/zebra_seg6_route')
-rwxr-xr-xtests/topotests/zebra_seg6_route/test_zebra_seg6_route.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py b/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py
index a83c6d6ec..6ac6569fa 100755
--- a/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py
+++ b/tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py
@@ -41,7 +41,6 @@ from lib import topotest
from lib.topogen import Topogen, TopoRouter, get_topogen
from lib.topolog import logger
from lib.common_config import shutdown_bringup_interface
-from mininet.topo import Topo
pytestmark = [pytest.mark.sharpd]
@@ -54,14 +53,8 @@ def open_json_file(filename):
assert False, "Could not read file {}".format(filename)
-class TemplateTopo(Topo):
- def build(self, **_opts):
- tgen = get_topogen(self)
- tgen.add_router("r1")
-
-
def setup_module(mod):
- tgen = Topogen(TemplateTopo, mod.__name__)
+ tgen = Topogen({None: "r1"}, mod.__name__)
tgen.start_topology()
router_list = tgen.routers()
for rname, router in tgen.routers().items():