Skip to content

Commit

Permalink
Correct launch_testing.assert.assertExitCodes usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpauno committed May 15, 2019
1 parent 816ce67 commit 71b54c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rcl/test/rcl/test_two_executables.py.in
Original file line number Diff line number Diff line change
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 71b54c5

Please sign in to comment.