1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-30 18:43:09 +03:00

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

This commit is contained in:
Alexei Znamensky
2023-11-20 23:23:16 +13:00
committed by GitHub
parent 404782c9d7
commit 9b16392648
10 changed files with 14 additions and 29 deletions

View File

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