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
|
@ -68,7 +68,7 @@ class TestFeature559(TestCase):
|
|||
code, out, err = self.t.runError("rc.data.location=locationdoesnotexist list")
|
||||
self.assertNotIn("footask", out)
|
||||
self.assertNotIn("Error", out)
|
||||
self.assertRegexpMatches(err, re.compile("Error:.+does not exist", re.DOTALL))
|
||||
self.assertRegex(err, re.compile("Error:.+does not exist", re.DOTALL))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue