From d405a5f3b543ba4021aba794c15f5784667b9df5 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 5 Apr 2015 16:14:20 -0400 Subject: [PATCH] Tests: Changed hook test to use a command that actually produces output --- test/hooks.env.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hooks.env.t b/test/hooks.env.t index c54f54b23..0939f5ec0 100755 --- a/test/hooks.env.t +++ b/test/hooks.env.t @@ -47,7 +47,7 @@ class TestHooksOnLaunch(TestCase): hookname = 'on-launch-good-env' self.t.hooks.add_default(hookname, log=True) - code, out, err = self.t(("_get", "system.os")) # Arbitrary command + code, out, err = self.t(("version", )) # Arbitrary command that generates output. hook = self.t.hooks[hookname] hook.assertTriggeredCount(1)