Skip to content

Commit

Permalink
update test ref to module utils
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Dec 3, 2024
1 parent a66e6f9 commit 90ade19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/plugins/modules/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from ansible.module_utils import basic
from ansible.module_utils._text import to_bytes
from ansible_collections.vmware.vmware.plugins.module_utils import _vmware
from ansible_collections.vmware.vmware.plugins.module_utils import _vmware_pyvmomi

import mock

Expand All @@ -30,7 +30,7 @@ def set_module_args(add_cluster=True, **args):


def mock_pyvmomi(mocker):
connect_to_api = mocker.patch.object(_vmware, "connect_to_api")
connect_to_api = mocker.patch.object(_vmware_pyvmomi, "connect_to_api")
_content = type('', (), {})()
_content.customFieldsManager = False
connect_to_api.return_value = None, _content
Expand Down

0 comments on commit 90ade19

Please sign in to comment.