mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 07:19:10 -07:00
[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:
parent
89158ce325
commit
8eb3003894
10 changed files with 14 additions and 29 deletions
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue