mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 07:19:10 -07:00
[PR #7181/d6ebba1a backport][stable-6] cmd tests improvement (#7186)
cmd tests improvement (#7181)
* cmd tests improvement
* fix sanity
* remove commented line
* fixed class init code
(cherry picked from commit d6ebba1aea
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
9f08cc11a8
commit
009bfd786d
4 changed files with 11 additions and 8 deletions
|
@ -22,7 +22,7 @@ from .cmd_runner_test_utils import CmdRunnerTestHelper
|
|||
|
||||
TESTED_MODULE = module.__name__
|
||||
with open("tests/unit/plugins/modules/test_xfconf.yaml", "r") as TEST_CASES:
|
||||
helper = CmdRunnerTestHelper(command="xfconf-query", test_cases=TEST_CASES)
|
||||
helper = CmdRunnerTestHelper(test_cases=TEST_CASES)
|
||||
patch_bin = helper.cmd_fixture
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue