mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
tests: Use updated unittest method
This commit is contained in:
parent
407d66d681
commit
02db131fa1
50 changed files with 315 additions and 315 deletions
|
@ -56,12 +56,12 @@ class TestUDAOrphans(TestCase):
|
|||
|
||||
# 'info' should show orphans.
|
||||
code, out, err = self.t("1 info")
|
||||
self.assertRegexpMatches(out, "\[extra\s+foo\]")
|
||||
self.assertRegex(out, "\[extra\s+foo\]")
|
||||
|
||||
# 'modify' should not change the orphan
|
||||
self.t("1 modify /one/two/")
|
||||
code, out, err = self.t("1 info")
|
||||
self.assertRegexpMatches(out, "\[extra\s+foo\]")
|
||||
self.assertRegex(out, "\[extra\s+foo\]")
|
||||
|
||||
# 'export' should include orphans.
|
||||
code, out, err = self.t("1 export")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue