Use shared unit test utils from community.internal_test_tools (#353)

* Use shared unit test utils from community.internal_test_tools.

* Make sure community.internal_test_tools is installed in CI.
This commit is contained in:
Felix Fontein 2025-03-12 21:34:12 +01:00 committed by GitHub
parent ab446b4449
commit 30a79061f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 25 additions and 229 deletions

View file

@ -8,9 +8,10 @@ __metaclass__ = type
import json
from ansible_collections.community.routeros.tests.unit.compat.mock import patch
from ansible_collections.community.internal_test_tools.tests.unit.compat.mock import patch
from ansible_collections.community.internal_test_tools.tests.unit.plugins.modules.utils import set_module_args
from ansible_collections.community.routeros.plugins.modules import command
from ansible_collections.community.routeros.tests.unit.plugins.modules.utils import set_module_args
from .routeros_module import TestRouterosModule, load_fixture