mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Test helper more (#7421)
* facter: add option to return facts instead of output variables * Update plugins/modules/facter.py Co-authored-by: Felix Fontein <felix@fontein.de> * add output doc * add changelog frag * reversed facter.py, created facter_facts.py * remove chglog fragment for new module * test helper: add Helper.from_module() * change case in variable name --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
bb59962061
commit
3b87f58070
10 changed files with 18 additions and 11 deletions
|
@ -17,6 +17,6 @@ from ansible_collections.community.general.plugins.modules import xfconf
|
|||
from .helper import Helper
|
||||
|
||||
|
||||
helper = Helper.from_file(xfconf.main, "tests/unit/plugins/modules/test_xfconf.yaml")
|
||||
helper = Helper.from_module(xfconf)
|
||||
patch_bin = helper.cmd_fixture
|
||||
test_module = helper.test_module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue