tests: Use updated unittest methods

This commit is contained in:
Tomas Babej
2020-11-21 12:39:03 -05:00
parent 720c561b75
commit 52c49169b4
50 changed files with 315 additions and 315 deletions

View File

@@ -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"""