diff --git a/test/units/plugins/strategies/test_strategy_base.py b/test/units/plugins/strategies/test_strategy_base.py index 8fcdcd0f1b4..4eaf3c1e6fc 100644 --- a/test/units/plugins/strategies/test_strategy_base.py +++ b/test/units/plugins/strategies/test_strategy_base.py @@ -188,6 +188,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