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