mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +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
|
@ -43,7 +43,7 @@ class TestLogoCommand(TestCase):
|
|||
def test_logo_command(self):
|
||||
"""Check that there are colors. For coverage"""
|
||||
code, out, err = self.t("logo rc._forcecolor:on")
|
||||
self.assertRegexpMatches(out, ".\[48;5;\d+m .\[0m")
|
||||
self.assertRegex(out, ".\[48;5;\d+m .\[0m")
|
||||
|
||||
def test_logo_command_no_color(self):
|
||||
"""Check that it only works with color. For coverage"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue