mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Make sure test accessing header output have correct verbosity tokens
This change was needed because the information about the default command is no longer part of the default output.
This commit is contained in:
parent
e3e2c50c24
commit
a5d5a025b7
2 changed files with 2 additions and 1 deletions
|
@ -146,7 +146,7 @@ class TestColorRules(TestCase):
|
|||
|
||||
def test_color_header(self):
|
||||
"""Header color."""
|
||||
code, out, err = self.t('rc.verbose=header /control/')
|
||||
code, out, err = self.t('rc.verbose=header,default /control/')
|
||||
self.assertIn('\x1b[34m', err)
|
||||
|
||||
def test_color_footnote(self):
|
||||
|
|
|
@ -46,6 +46,7 @@ class TestCMD(TestCase):
|
|||
|
||||
def test_default_command(self):
|
||||
"""default command"""
|
||||
self.t.config("verbose", "on")
|
||||
code, out, err = self.t()
|
||||
self.assertIn("task list]", err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue