Correct launch_testing.assert.assertExitCodes usage (#437)
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
This commit is contained in:
parent
667443b59c
commit
7984f94423
1 changed files with 5 additions and 1 deletions
|
@ -46,4 +46,8 @@ class TestTwoExecutablesAfterShutdown(unittest.TestCase):
|
|||
|
||||
def @TEST_NAME@(self, executable_under_test):
|
||||
"""Test that the executable under test finished cleanly."""
|
||||
launch_testing.asserts.assertExitCodes(self.proc_info, process=executable_under_test)
|
||||
launch_testing.asserts.assertExitCodes(
|
||||
self.proc_info,
|
||||
[launch_testing.asserts.EXIT_OK],
|
||||
executable_under_test
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue