mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 08:52:55 +00:00
[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:
parent
7bc937b5e8
commit
a89990ab9b
4 changed files with 50 additions and 26 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue