Hi All,


I was wondering if anyone ever wrote tests for an ansible module ?


I'm trying to instantiate m = AnsibleModule(argument_spec=dict()) but it 
keeps failing with "Error: Module unable to decode valid JSON on stdin.", 
before I can even call m.params = {} or something to give the instance some 
parameters to work with. To me it seems you're currently unable to specify 
/ override parameters passed to a AnsibleModule directly, is there 
something I can do to give AnsibleModule the correct context to find these 
parameters ?


Thanks!

Alex


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4d1edad8-0300-4077-8764-88223bb37ae8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to