tests: SRv6 SID Manager teardown module

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
Carmine Scarpitta 2024-09-06 23:23:18 +02:00
parent 7d7678d251
commit fccfda2263

View File

@ -240,6 +240,14 @@ def setup_module(mod):
tgen.start_router()
def teardown_module(mod):
"Teardown the pytest environment"
# Teardown the topology
tgen = get_topogen()
tgen.stop_topology()
if __name__ == "__main__":
args = ["-s"] + sys.argv[1:]
sys.exit(pytest.main(args))