Unit Tests
- Updated expected error for on-modify-misbehave3 test hook script.
This commit is contained in:
@@ -89,7 +89,7 @@ class TestHooksOnModify(TestCase):
|
||||
|
||||
code, out, err = self.t(("add", "foo"))
|
||||
code, out, err = self.t.runError(("1", "modify", "+tag"))
|
||||
self.assertIn("ERROR EXTRA JSON", err)
|
||||
self.assertIn("Hook Error: Expected 1 JSON task(s), found 2", err)
|
||||
self.t.hooks[hookname].assertTriggered()
|
||||
self.t.hooks[hookname].assertTriggeredCount(1)
|
||||
self.t.hooks[hookname].assertExitcode(0)
|
||||
|
||||
Reference in New Issue
Block a user