X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/12bd696c799915fce6e48ad40d3ba8175e0ff872..e029548d495d356ef7b00d2b4f667e8606a1bee4:/tasklib/tests.py diff --git a/tasklib/tests.py b/tasklib/tests.py index 29b88a0..990bc3b 100644 --- a/tasklib/tests.py +++ b/tasklib/tests.py @@ -683,7 +683,8 @@ class TaskTest(TasklibTest): def test_return_all_from_failed_executed_command(self): Task(self.tw, description="test task", tags=['test']).save() - out, err, rc = self.tw.execute_command(['countinvalid'], return_all=True) + out, err, rc = self.tw.execute_command(['countinvalid'], + return_all=True, allow_failure=False) self.assertNotEqual(rc, 0)