Use more unit test utils from community.internal_test_tools (#9918)

* Make conftest's patch_ansible_module use the context manager from .utils.

* Fix test dependencies.

* Use module mock utils from community.internal_test_tools.

* Use DataDictLoader from community.internal_test_tools.

* Use trust util from community.internal_test_tools.
This commit is contained in:
Felix Fontein 2025-03-22 13:12:31 +01:00 committed by GitHub
parent 9286b60182
commit 8ab8010b6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
94 changed files with 217 additions and 267 deletions

View file

@ -13,7 +13,7 @@ from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.modules import (
solaris_zone
)
from ansible_collections.community.general.tests.unit.plugins.modules.utils import (
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import (
set_module_args,
)