launch_testing.asserts.assert_exit_codes module

A module providing exit code assertions.

To prevent pytest from rewriting this module assertions, please PYTEST_DONT_REWRITE. See https://docs.pytest.org/en/latest/assert.html#disabling-assert-rewriting for further reference.

launch_testing.asserts.assert_exit_codes.assertExitCodes(proc_info, allowable_exit_codes=[0], process=None, cmd_args=None, *, strict_proc_matching=True)

Check the exit codes of the processes under test.

Parameters:

proc_info (iterable) – A list of proc_info objects provided by the test framework to be

checked