1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-29 07:41:16 +03:00

cmd tests improvement (#7181)

* cmd tests improvement

* fix sanity

* remove commented line

* fixed class init code
This commit is contained in:
Alexei Znamensky
2023-09-01 16:32:11 +12:00
committed by GitHub
parent 6303096648
commit d6ebba1aea
4 changed files with 11 additions and 8 deletions

View File

@ -16,7 +16,7 @@ from .cmd_runner_test_utils import CmdRunnerTestHelper
TESTED_MODULE = module.__name__
with open("tests/unit/plugins/modules/test_opkg.yaml", "r") as TEST_CASES:
helper = CmdRunnerTestHelper(command="opkg", test_cases=TEST_CASES)
helper = CmdRunnerTestHelper(test_cases=TEST_CASES)
patch_bin = helper.cmd_fixture