Correct launch_testing.assert.assertExitCodes usage (#437)

Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
This commit is contained in:
ivanpauno 2019-05-15 17:19:12 -03:00 committed by GitHub
parent 667443b59c
commit 7984f94423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,4 +46,8 @@ class TestTwoExecutablesAfterShutdown(unittest.TestCase):
def @TEST_NAME@(self, executable_under_test): def @TEST_NAME@(self, executable_under_test):
"""Test that the executable under test finished cleanly.""" """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
)