diff --git a/support/testing/tests/package/test_weston.py b/support/testing/tests/package/test_weston.py index c4bfc06ca4..4d4301c079 100644 --- a/support/testing/tests/package/test_weston.py +++ b/support/testing/tests/package/test_weston.py @@ -150,5 +150,4 @@ class TestWeston(infra.basetest.BRTest, GraphicsBase): # Now weston is supposed to be stopped, # a simple client is expected to fail. - _, exit_code = self.emulator.run("wayland-info") - self.assertNotEqual(exit_code, 0) + self.assertRunNotOk("wayland-info")