mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Ship constants to the modules via internal module params rather than a secondary dict.
This commit is contained in:
parent
a404d0ffe2
commit
186337db28
11 changed files with 42 additions and 39 deletions
|
@ -36,7 +36,6 @@ class TestModuleUtilsBasic(unittest.TestCase):
|
|||
dict(
|
||||
ANSIBLE_MODULE_ARGS=dict(
|
||||
foo=False, bar=[1,2,3], bam="bam", baz=u'baz'),
|
||||
ANSIBLE_MODULE_CONSTANTS=dict()
|
||||
))):
|
||||
from ansible.module_utils import basic
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue