TW-1752: cleanup of diag output

- Thanks to David Patrick.
This commit is contained in:
Paul Beckingham 2016-01-11 16:27:15 -05:00
parent df45c84266
commit 3ed7fe265e
3 changed files with 61 additions and 12 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.assertIn("on-launch-good-env (executable)", out)
self.assertRegexpMatches(out, r"on-launch-good-env\s+\(executable\)")
def test_onlaunch_builtin_env_debug(self):
"""Verify that 'debug.hooks' shows hook details"""