mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-07 13:03:30 +00:00
template: add router check test
Show test developers that they can check if routers are running by calling tgen.routers_have_failure().
This commit is contained in:
parent
7b093d84e0
commit
d176de4d0a
@ -99,6 +99,10 @@ def teardown_module(mod):
|
||||
def test_call_mininet_cli():
|
||||
"Dummy test that just calls mininet CLI so we can interact with the build."
|
||||
tgen = get_topogen()
|
||||
# Don't run this test if we have any failure.
|
||||
if tgen.routers_have_failure():
|
||||
pytest.skip(tgen.errors)
|
||||
|
||||
logger.info('calling mininet CLI')
|
||||
tgen.mininet_cli()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user