mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 18:06:42 +02:00
Unittest - No need to check for exit code as it's already implicit
This commit is contained in:
parent
1abd5460d7
commit
6fc907ffd5
2 changed files with 2 additions and 4 deletions
|
@ -40,8 +40,7 @@ class TestBug1359(TestCase):
|
|||
|
||||
def test_add_hyphenated(self):
|
||||
""""one-two-three" in description triggers Malformed ID error"""
|
||||
code, out, err = self.t(("add", "one-two-three.ca"))
|
||||
self.assertEqual(code, 0)
|
||||
self.t(("add", "one-two-three.ca"))
|
||||
|
||||
code, out, err = self.t(("1", "info"))
|
||||
self.assertIn("one-two-three.ca", out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue