mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixing type in 293723f (mock_handler -> mock_handler_task)
This commit is contained in:
parent
0ea2b2a6af
commit
221520cbad
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,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
|
||||
|
|
Loading…
Reference in a new issue