test helper improvements (#9242)

This commit is contained in:
Alexei Znamensky 2024-12-14 12:06:41 +13:00 committed by GitHub
commit 88ea025d12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 50 additions and 26 deletions

View file

@ -7,7 +7,7 @@ __metaclass__ = type
from ansible_collections.community.general.plugins.modules import xfconf_info
from .helper import Helper, RunCommandMock # pylint: disable=unused-import
from .helper import Helper, RunCommandMock
Helper.from_module(xfconf_info, __name__)
Helper.from_module(xfconf_info, __name__, mocks=[RunCommandMock])