summaryrefslogtreecommitdiff
path: root/tests/topotests/example_test/test_example.py
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-01 01:31:26 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-05-01 01:31:26 +0300
commitb32454e10c0b7dfd7800e153234e063458190e62 (patch)
tree7befa958b45deadc77cc445195279520d987c49f /tests/topotests/example_test/test_example.py
parent058d0236b61e53722b4974791e8e019a892959b5 (diff)
tests: fix bgp-auth topotest
Individual tests must not depend on each other. In particular, a test can't be sure that the previous test config is applied or cleared. It is definitely not true when a single test is executed, for example: `test_bgp_auth.py::test_prefix_peer_remove_passwords`. This commit makes all tests independent of each other. It also adds a call to check_all_peers_established at the start of "remove_passwords" tests to make sure that we not only block new peers with an incorrect password, but also clean the existing peers. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'tests/topotests/example_test/test_example.py')
0 files changed, 0 insertions, 0 deletions