Skip to content

Commit

Permalink
Correct launch_testing.assert.assertExitCodes usage (#437)
Browse files Browse the repository at this point in the history
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed May 15, 2019
1 parent 667443b commit 7984f94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rcl/test/rcl/test_two_executables.py.in
Expand Up @@ -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
)

0 comments on commit 7984f94

Please sign in to comment.