mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
tests: Use updated unittest methods
This commit is contained in:
parent
720c561b75
commit
52c49169b4
50 changed files with 315 additions and 315 deletions
|
@ -46,10 +46,10 @@ class TestOverride(TestCase):
|
|||
def test_override(self):
|
||||
"""Verify override is displayed in 'show' command"""
|
||||
code, out, err = self.t("show regex")
|
||||
self.assertRegexpMatches(out, r"regex +0")
|
||||
self.assertRegex(out, r"regex +0")
|
||||
|
||||
code, out, err = self.t("rc.regex:1 show regex")
|
||||
self.assertRegexpMatches(out, r"regex +1")
|
||||
self.assertRegex(out, r"regex +1")
|
||||
|
||||
|
||||
class TestRCSegfault(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue