mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Use updated unittest method
This commit is contained in:
parent
7d567c3ac9
commit
79e076c3c0
1 changed files with 16 additions and 0 deletions
|
@ -251,6 +251,22 @@ class TestBug299(TestCase):
|
|||
self.assertRegex(out, "three.*baz")
|
||||
|
||||
|
||||
class TestBug555(TestCase):
|
||||
def setUp(self):
|
||||
self.t = Task()
|
||||
|
||||
def test_log_with_project_segfault(self):
|
||||
"""555: log with a project causes a segfault
|
||||
|
||||
Reported in bug 555
|
||||
"""
|
||||
code, out, err = self.t("rc.verbose:new-uuid log description project:p")
|
||||
|
||||
self.assertNotIn("Segmentation fault", out)
|
||||
self.assertNotIn("Segmentation fault", err)
|
||||
self.assertIn("Logged task", out)
|
||||
|
||||
|
||||
class TestBug605(TestCase):
|
||||
def setUp(self):
|
||||
self.t = Task()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue