diff options
author | Christian Hopps <chopps@labn.net> | 2021-08-27 20:28:29 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2021-09-04 15:04:46 +0200 |
commit | 8db751b853560377ebd640c729ecb4e155e6a6d7 (patch) | |
tree | 51a8419faf7cc64401f05b13c95a30895c5cd2f9 /tests/topotests/zebra_seg6_route | |
parent | tests: micronet: update infra (diff) | |
download | frr-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-x | tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py | 9 |
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(): |