Fix unit test for base strategy in regards to handler changes
This commit is contained in:
parent
bac0028350
commit
293723f4f6
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ class TestStrategyBase(unittest.TestCase):
|
||||||
mock_task.ignore_errors = False
|
mock_task.ignore_errors = False
|
||||||
|
|
||||||
mock_handler_task = MagicMock(Handler)
|
mock_handler_task = MagicMock(Handler)
|
||||||
|
mock_handler.name = 'test handler'
|
||||||
mock_handler_task.action = 'foo'
|
mock_handler_task.action = 'foo'
|
||||||
mock_handler_task.get_name.return_value = "test handler"
|
mock_handler_task.get_name.return_value = "test handler"
|
||||||
mock_handler_task.has_triggered.return_value = False
|
mock_handler_task.has_triggered.return_value = False
|
||||||
|
|
Loading…
Reference in a new issue