mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unittest - default to not merging stdout/stderr during tests
* Tests will now check that stderr is used for errors * Tests were adjusted to reflect the API change
This commit is contained in:
parent
c9102fd79c
commit
efdb31fb90
4 changed files with 22 additions and 18 deletions
|
@ -17,7 +17,7 @@ class TestBug1441(TestCase):
|
|||
def test_import_filename(self):
|
||||
"""import fails if file doesn't exist"""
|
||||
command = ("import", "xxx_doesnotexist")
|
||||
code, out, err = self.t.runError(command, merge_streams=False)
|
||||
code, out, err = self.t.runError(command)
|
||||
|
||||
self.assertIn("File 'xxx_doesnotexist' not found.", err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue