mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 18:04:03 +00:00
ldp_vpls_topo1: set an error instead of exit
It will have the same effect and code will not have to be repeated since all functions must call `routers_have_failure()`.
This commit is contained in:
parent
f13a242c76
commit
333139b22e
@ -146,7 +146,7 @@ def setup_module(mod):
|
||||
tgen.start_router()
|
||||
for router in router_list.values():
|
||||
if router.has_version('<', '3'):
|
||||
pytest.exit('unsupported version')
|
||||
tgen.set_error('unsupported version')
|
||||
|
||||
def teardown_module(mod):
|
||||
"Teardown the pytest environment"
|
||||
|
Loading…
Reference in New Issue
Block a user