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

* Use shared unit test utils from community.internal_test_tools.

* Make sure community.internal_test_tools is installed in CI.

(cherry picked from commit 30a79061f3)
This commit is contained in:
Felix Fontein 2025-03-12 21:47:20 +01:00 committed by GitHub
parent 90780b9cd0
commit 5f21f8f7c6
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