community.general/lib/ansible/modules/network/basics
Ted Timmons 887456ab8e Fix stderr false return value (#22845)
* ensure exit_json does not fail from stderr=False

- do a little bit of safety-checking in exit_json to not try to .splitlines() on a boolean
- remove the stderr=boolean from uri.py, this is the only spot that uses it (at least so obviously)
- add unit tests that call exit_json. These are useless because the stderr parsing is in _execute_module and is difficult to mock; deleting these tests after the commit.

* remove added unit tests per prev commit

exit_json doesn't do the param parsing, that is buried deep inside _execute_module.
2017-03-21 18:11:11 -04:00
..
__init__.py Renames. 2016-12-08 11:22:25 -05:00
get_url.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
slurp.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
uri.py Fix stderr false return value (#22845) 2017-03-21 18:11:11 -04:00