mirror_frr/tests
Christian Hopps 4e6e3e66c6 tests: convert old pim test to more cleanly use pytest fixture
This is a good way to run a per-test background helper process. Here the
helper object is created before the test function requesting it (through param
name match), and then cleaned up after the test function exits (pass or failed).

A context manager is used to further guarantee the cleanup is done.

Signed-off-by: Christian Hopps <chopps@labn.net>
(cherry picked from commit b28bc2561e)
2023-06-08 18:52:51 +00:00
..
bgpd bgpd: Treat withdraw variable as a bool 2023-04-06 17:41:32 -04:00
helpers lib: mgmtd: add manual vty server start option and use it 2023-05-30 02:10:20 -04:00
isisd isisd: add option to display isis routes as json 2023-04-18 11:33:15 +02:00
lib tests: Fix out of tree build for lua scripting 2023-05-09 02:05:44 +02:00
ospf6d *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
ospfd *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
topotests tests: convert old pim test to more cleanly use pytest fixture 2023-06-08 18:52:51 +00:00
zebra *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
.gitignore tests: new grpc topotest 2022-03-14 11:14:12 -04:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00