diff options
Diffstat (limited to 'lava_dispatcher/test/test_devices.py')
-rw-r--r-- | lava_dispatcher/test/test_devices.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lava_dispatcher/test/test_devices.py b/lava_dispatcher/test/test_devices.py index 659d8b42e..5d3914a23 100644 --- a/lava_dispatcher/test/test_devices.py +++ b/lava_dispatcher/test/test_devices.py @@ -220,7 +220,8 @@ class TestCommand(StdoutTestCase): def test_silent(self): fake = FakeAction() command = 'true' - self.assertRaises(JobError, fake.run_command, command.split(' ')) + log = fake.run_command(command.split(' ')) + self.assertEqual(log, '') self.assertEqual([], fake.errors) def test_allow_silent(self): |