mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +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
|
@ -65,7 +65,7 @@ class TestDuplication(TestCase):
|
|||
def test_duplication_showing_uuid(self):
|
||||
"""Verify duplicate can show uuid"""
|
||||
code, out, err = self.t("1 duplicate rc.verbose:new-uuid")
|
||||
self.assertRegexpMatches(out, "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}")
|
||||
self.assertRegex(out, "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}")
|
||||
|
||||
|
||||
class TestDuplication2(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue