Skip to content

Commit

Permalink
revert some test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Dec 16, 2024
1 parent 337d9ab commit 48ed5e7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 333 deletions.
4 changes: 2 additions & 2 deletions plugins/inventory_utils/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
from ansible.parsing.yaml.objects import AnsibleVaultEncryptedUnicode
from ansible.module_utils.common.text.converters import to_native

from ansible_collections.vmware.vmware.plugins.module_utils.clients.pyvmomi import PyvmomiClient
from ansible_collections.vmware.vmware.plugins.module_utils.clients.rest import VmwareRestClient
from ansible_collections.vmware.vmware.plugins.module_utils.clients._pyvmomi import PyvmomiClient
from ansible_collections.vmware.vmware.plugins.module_utils.clients._rest import VmwareRestClient


class VmwareInventoryBase(BaseInventoryPlugin, Constructable, Cacheable):
Expand Down
325 changes: 0 additions & 325 deletions plugins/module_utils/base.py

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
except ImportError:
PYVMOMI_IMP_ERR = traceback.format_exc()

from ansible_collections.vmware.vmware.plugins.module_utils.clients.errors import (
from ansible_collections.vmware.vmware.plugins.module_utils.clients._errors import (
ApiAccessError,
MissingLibError
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
HAS_URLLIB3 = False

from ansible.module_utils._text import to_native
from ansible_collections.vmware.vmware.plugins.module_utils.clients.errors import (
from ansible_collections.vmware.vmware.plugins.module_utils.clients._errors import (
ApiAccessError,
MissingLibError
)
Expand Down
5 changes: 1 addition & 4 deletions plugins/modules/cluster_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@
except ImportError:
pass
from ansible.module_utils.basic import AnsibleModule
# from ansible_collections.vmware.vmware.plugins.module_utils._vmware import (
# PyVmomi
# )
from ansible_collections.vmware.vmware.plugins.module_utils.base import (
from ansible_collections.vmware.vmware.plugins.module_utils._vmware import (
PyVmomi
)
from ansible_collections.vmware.vmware.plugins.module_utils._vmware_argument_spec import (
Expand Down

0 comments on commit 48ed5e7

Please sign in to comment.