mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +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
|
|
@ -68,7 +68,7 @@ class TestHooksOnLaunch(TestCase):
|
|||
self.t.hooks.add_default(hookname, log=True)
|
||||
|
||||
code, out, err = self.t("diagnostics")
|
||||
self.assertRegexpMatches(out, r"on-launch-good-env\s+\(executable\)")
|
||||
self.assertRegex(out, r"on-launch-good-env\s+\(executable\)")
|
||||
|
||||
def test_onlaunch_builtin_env_debug(self):
|
||||
"""Verify that 'debug.hooks' shows hook details"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue