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
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 facter_facts
from .helper import Helper
helper = Helper.from_module(facter_facts)
patch_bin = helper.cmd_fixture
test_module = helper.test_module
Helper.from_module(facter_facts, __name__)