mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
Skip test_module_utils_basic_ansible_module_creation on Python 3
This reverts commit 073f10a52a
and instead
disables the failing test.
We're focusing on Python 3 support on the controller first; modules will
come later.
This commit is contained in:
parent
073f10a52a
commit
225fe85530
2 changed files with 4 additions and 5 deletions
|
@ -1240,10 +1240,7 @@ class AnsibleModule(object):
|
|||
|
||||
def _load_params(self):
|
||||
''' read the input and return a dictionary and the arguments string '''
|
||||
params = json.loads(MODULE_COMPLEX_ARGS)
|
||||
if str is bytes:
|
||||
# Python 2
|
||||
params = json_dict_unicode_to_bytes(params)
|
||||
params = json_dict_unicode_to_bytes(json.loads(MODULE_COMPLEX_ARGS))
|
||||
if params is None:
|
||||
params = dict()
|
||||
return params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue