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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user