autonomic.gandi/test/conftest.py
Luke Murphy a0374d8209
Some checks failed
continuous-integration/drone/push Build is failing
Try to unit test but give up for now
2020-03-28 17:55:36 +01:00

10 lines
223 B
Python

import json
from ansible.module_utils import basic
from ansible.module_utils._text import to_bytes
def set_module_args(args):
args = json.dumps({'ANSIBLE_MODULE_ARGS': args})
basic._ANSIBLE_ARGS = to_bytes(args)