mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 01:40:16 +00:00
tests: Cleanup and fix error message in bgp_features testsuite
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
9104f54962
commit
53d49b1a0e
@ -229,7 +229,7 @@ def test_bgp_shutdown_message():
|
|||||||
else:
|
else:
|
||||||
found = ''
|
found = ''
|
||||||
assertmsg = "Incorrect BGP shutdown message received on router R{}".format(rtrNum)
|
assertmsg = "Incorrect BGP shutdown message received on router R{}".format(rtrNum)
|
||||||
assert found == '8 bytes 41 42 43 44 61 62 63 64'
|
assert found == '8 bytes 41 42 43 44 61 62 63 64', assertmsg
|
||||||
|
|
||||||
# tgen.mininet_cli()
|
# tgen.mininet_cli()
|
||||||
|
|
||||||
@ -261,13 +261,6 @@ def test_bgp_no_shutdown():
|
|||||||
assert res is None, assertmsg
|
assert res is None, assertmsg
|
||||||
|
|
||||||
|
|
||||||
def test_bgp_instance_shutdown():
|
|
||||||
tgen = get_topogen()
|
|
||||||
|
|
||||||
# Skip if previous fatal error condition is raised
|
|
||||||
if tgen.routers_have_failure():
|
|
||||||
pytest.skip(tgen.errors)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
args = ["-s"] + sys.argv[1:]
|
args = ["-s"] + sys.argv[1:]
|
||||||
|
Loading…
Reference in New Issue
Block a user