[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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 14 additions and 29 deletions

View file

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