diff --git a/test/units/plugins/strategies/test_strategy_base.py b/test/units/plugins/strategies/test_strategy_base.py index 4eaf3c1e6fc..0c0ad108bb7 100644 --- a/test/units/plugins/strategies/test_strategy_base.py +++ b/test/units/plugins/strategies/test_strategy_base.py @@ -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