[PR #7560/9b163926 backport][stable-8] test helper: Helper.from_module() injects test function into test module (#7562)

test helper: Helper.from_module() injects test function into test module (#7560)

(cherry picked from commit 9b16392648)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2023-11-22 09:11:12 +01:00
committed by GitHub
parent 89158ce325
commit 8eb3003894
10 changed files with 14 additions and 29 deletions

View File

@@ -11,6 +11,4 @@ from ansible_collections.community.general.plugins.modules import gconftool2_inf
from .helper import Helper
helper = Helper.from_module(gconftool2_info)
patch_bin = helper.cmd_fixture
test_module = helper.test_module
Helper.from_module(gconftool2_info, __name__)