Test: Enabled hooks before running diag, to get more info

This commit is contained in:
Paul Beckingham 2015-07-19 20:34:15 -04:00
parent b02c4a209a
commit 2b5aba85ae

View file

@ -45,6 +45,7 @@ class TestDiagnostics(TestCase):
def test_diagnostics(self):
"""Task diag output, so we can monitor platforms"""
self.t.activate_hooks()
code, out, err = self.t.diag()
self.tap(out)
self.assertRegexpMatches(out, "Compliance:\s+C\+\+11")