mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests - Include task stdout/err if exit code != 0
This commit is contained in:
parent
4ae8431f96
commit
02d175b10b
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class BaseTestCase(unittest.TestCase):
|
|||
out = self.callTask(args, input, merge_streams)
|
||||
|
||||
self.assertEqual(out[0], 0, "Task finished with non-zero ({0}) exit "
|
||||
"code".format(out[0]))
|
||||
"code\nOUTPUT: {1}".format(out[0], out[1]))
|
||||
return out
|
||||
|
||||
def callTaskError(self, args, input=None, merge_streams=True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue