[PR #9242/88ea025d backport][stable-10] test helper improvements (#9247)

test helper improvements (#9242)

(cherry picked from commit 88ea025d12)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2024-12-14 10:44:16 +01:00
committed by GitHub
parent 7bc937b5e8
commit a89990ab9b
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])