Fixing type in 293723f (mock_handler -> mock_handler_task)

This commit is contained in:
James Cammarata 2016-07-12 16:59:30 -05:00
parent 293723f4f6
commit 137385059c

View file

@ -188,7 +188,7 @@ class TestStrategyBase(unittest.TestCase):
mock_task.ignore_errors = False
mock_handler_task = MagicMock(Handler)
mock_handler.name = 'test handler'
mock_handler_task.name = 'test handler'
mock_handler_task.action = 'foo'
mock_handler_task.get_name.return_value = "test handler"
mock_handler_task.has_triggered.return_value = False