mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests - Remove assertTriggered, redundant with assertTriggeredCount
This commit is contained in:
parent
7cd42b5d2f
commit
80c01f3ffb
5 changed files with 0 additions and 30 deletions
|
@ -51,7 +51,6 @@ class TestHooksOnExit(TestCase):
|
|||
self.assertIn("Taskwarrior", out)
|
||||
|
||||
hook = self.t.hooks[hookname]
|
||||
hook.assertTriggered()
|
||||
hook.assertTriggeredCount(1)
|
||||
hook.assertExitcode(0)
|
||||
|
||||
|
@ -68,7 +67,6 @@ class TestHooksOnExit(TestCase):
|
|||
self.assertIn("Taskwarrior", out)
|
||||
|
||||
hook = self.t.hooks[hookname]
|
||||
hook.assertTriggered()
|
||||
hook.assertTriggeredCount(1)
|
||||
hook.assertExitcode(1)
|
||||
|
||||
|
@ -85,7 +83,6 @@ class TestHooksOnExit(TestCase):
|
|||
self.assertIn("Taskwarrior", out)
|
||||
|
||||
hook = self.t.hooks[hookname]
|
||||
hook.assertTriggered()
|
||||
hook.assertTriggeredCount(1)
|
||||
hook.assertExitcode(0)
|
||||
|
||||
|
@ -102,7 +99,6 @@ class TestHooksOnExit(TestCase):
|
|||
self.assertIn("Hook Error: Expected 0 JSON task(s), found 1", err)
|
||||
|
||||
hook = self.t.hooks[hookname]
|
||||
hook.assertTriggered()
|
||||
hook.assertTriggeredCount(1)
|
||||
hook.assertExitcode(0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue