mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
Tests: Changed hook test to use a command that actually produces output
This commit is contained in:
parent
0cba34268c
commit
d405a5f3b5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue