Toshio Kuratomi
|
b70bf3b056
|
Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
|
2016-02-26 16:43:05 -08:00 |
|
Toshio Kuratomi
|
a68d90a71a
|
rework run_command's env setting to not change os.environ for the rest of the module.
New param to run_command to modify the environment for just this invocation.
Documentation and comment adjustments.
|
2016-01-20 12:03:32 -08:00 |
|
Brian Coca
|
d89d7951e6
|
fixed tests to follow new invocation structure
also added maxdiff setting to see issues clearly when they happen
|
2015-12-23 11:45:07 -05:00 |
|
Toshio Kuratomi
|
e2d9f4e2f2
|
Fix unittests for return of invocation from fail_json and exit_json
|
2015-12-19 15:49:59 -08:00 |
|
Michael Scherer
|
a7ac98262d
|
Make module_utils.known_hosts.get_fqdn work on ipv6
|
2015-12-14 19:30:54 +01:00 |
|
Michael Scherer
|
3c4d2fc6f2
|
Add tests for ansible.module_utils.known_hosts
|
2015-12-12 20:03:35 +01:00 |
|
Toshio Kuratomi
|
cfeef81303
|
For now, skip tests of module_utils/basic functions that are failing on
py3 (these are only run on the target hosts, not on the controller).
|
2015-12-03 14:16:29 -08:00 |
|
Toshio Kuratomi
|
e00012994e
|
Also some unicode tests for return_values()
|
2015-12-02 21:09:53 -08:00 |
|
Toshio Kuratomi
|
5fdfe6a0f2
|
Add some test data that has unicode values
|
2015-12-02 21:07:41 -08:00 |
|
Brano Zarnovican
|
90f99f29ae
|
unittest cover for 'run_command'
All os.*, subprocess.* is mocked to avoid side-effects.
Tests are skipped in Py3, since 'run_command' is not Py3-ready, yet.
|
2015-11-17 11:57:50 +01:00 |
|
Toshio Kuratomi
|
5a0e63af1e
|
Workaround seeming bug in python-2.6's sys.exit()
|
2015-10-21 11:54:02 -07:00 |
|
Toshio Kuratomi
|
6e5055e786
|
Update the use of no_log values to cover everything that heuristic_log_sanitize does.
Fixes #12792
|
2015-10-21 08:15:46 -07:00 |
|
Toshio Kuratomi
|
c2d188baff
|
Hide values in json returns which were given in parameters marked no_log.
|
2015-10-20 12:42:36 -07:00 |
|
Toshio Kuratomi
|
15d7f53846
|
AnsibleModules.log() fix for python3
Also add unittests for AnsibleModules.log()
Fixes #12586
|
2015-10-12 13:30:27 -07:00 |
|