From 0ea2b2a6afaf738c97ae7a6a892b43a953f33642 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 12 Jul 2016 16:49:23 -0500 Subject: [PATCH] Fix unit test for base strategy in regards to handler changes --- test/units/plugins/strategies/test_strategy_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/units/plugins/strategies/test_strategy_base.py b/test/units/plugins/strategies/test_strategy_base.py index e079fa8d48..48384b32d6 100644 --- a/test/units/plugins/strategies/test_strategy_base.py +++ b/test/units/plugins/strategies/test_strategy_base.py @@ -198,6 +198,7 @@ class TestStrategyBase(unittest.TestCase): mock_task.ignore_errors = False mock_handler_task = MagicMock(Handler) + mock_handler.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