diff options
| author | Christian Hopps <chopps@labn.net> | 2023-06-08 04:12:26 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-06-08 04:55:32 -0400 |
| commit | b28bc2561e7231e410e304f7ec23f9d795e3e479 (patch) | |
| tree | ac970a89a1d64c8dae07e3d6d4b9ac79ffd3e35c /pceplib/pcep_utils_queue.c | |
| parent | efedb1897616c6de76aaaff7a51f443dbbe93e31 (diff) | |
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>
Diffstat (limited to 'pceplib/pcep_utils_queue.c')
0 files changed, 0 insertions, 0 deletions
