From 137385059c5bc4e24f5528f0b54a33b0d0e46c58 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 12 Jul 2016 16:59:30 -0500 Subject: [PATCH] Fixing type in 293723f (mock_handler -> mock_handler_task) --- test/units/plugins/strategies/test_strategy_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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