From 71b54c568c7aee232efd376fa251ab4bcbed4513 Mon Sep 17 00:00:00 2001 From: ivanpauno Date: Wed, 15 May 2019 14:12:28 -0300 Subject: [PATCH] Correct launch_testing.assert.assertExitCodes usage --- rcl/test/rcl/test_two_executables.py.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rcl/test/rcl/test_two_executables.py.in b/rcl/test/rcl/test_two_executables.py.in index bc1615cce5..34d785098b 100644 --- a/rcl/test/rcl/test_two_executables.py.in +++ b/rcl/test/rcl/test_two_executables.py.in @@ -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 + )