mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
More module_utils/basic.py unit tests for v2
This commit is contained in:
parent
339a02c384
commit
e59d4f3b51
2 changed files with 447 additions and 6 deletions
|
@ -579,7 +579,7 @@ class AnsibleModule(object):
|
|||
if len(context) > i:
|
||||
if context[i] is not None and context[i] != cur_context[i]:
|
||||
new_context[i] = context[i]
|
||||
if context[i] is None:
|
||||
elif context[i] is None:
|
||||
new_context[i] = cur_context[i]
|
||||
|
||||
if cur_context != new_context:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue