Commit Graph

32 Commits (2ffb136b3febe6efe09d0c8b745b7cbbf5c747d3)

Author SHA1 Message Date
Toshio Kuratomi fa804125b5 Python3 fixes and porting (#17271)
10 years ago
Toshio Kuratomi 44d979c8f5 Enable most unittests on python3 (just some vault unittests and a logging one left) (#17240)
10 years ago
Toshio Kuratomi 57701d7115 Give native strings to selinux library functions. (#17184)
10 years ago
Toshio Kuratomi d29a7c55fe Enable some basic.py tests on python3 (#17167)
10 years ago
Toshio Kuratomi c8a8f546d4 A little unittest refactoring (#16704)
10 years ago
Dag Wieers d91df20620 Fix unit tests for module_name commit #16087
10 years ago
Toshio Kuratomi 5a3493be5f Port urls.py to python3 and other byte vs text fixes (#16124)
10 years ago
Robin Roth 85477fa215 Don't use 'from ansible.module_utils import foo' style here as it breaks (#15756)
10 years ago
Toshio Kuratomi 186337db28 Ship constants to the modules via internal module params rather than a secondary dict.
10 years ago
Toshio Kuratomi c730af5dc2 Remove reload from arg related tests. Changes to how ziploader passes args mean we don't need reload anymore. (#15782)
10 years ago
Toshio Kuratomi 44e21f7062 Allow AnsibleModules to be instantiated more than once in a module
10 years ago
Toshio Kuratomi 03126f7097 Fix cut and paste error of test code
10 years ago
nitzmahone 5b336832af add _load_params debug overrides for module args/file passed on cmdline
10 years ago
Toshio Kuratomi 75546678d9 Fix unittests
10 years ago
Toshio Kuratomi 4b0aa1214c Ziploader
10 years ago
Toshio Kuratomi d3583108ec Fix log_invocation test on python2 with hash randomization
10 years ago
Matt Martz ad30bad14f Skip test_module_utils_basic__log_invocation until we can figure out the cause of the failure
10 years ago
James Cammarata 8eadc1d8eb Adding more unit tests for AnsibleModule things in basic.py
10 years ago
Toshio Kuratomi b70bf3b056 Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
10 years ago
Toshio Kuratomi a68d90a71a rework run_command's env setting to not change os.environ for the rest of the module.
10 years ago
Brian Coca d89d7951e6 fixed tests to follow new invocation structure
10 years ago
Toshio Kuratomi e2d9f4e2f2 Fix unittests for return of invocation from fail_json and exit_json
10 years ago
Michael Scherer a7ac98262d Make module_utils.known_hosts.get_fqdn work on ipv6
10 years ago
Michael Scherer 3c4d2fc6f2 Add tests for ansible.module_utils.known_hosts
10 years ago
Toshio Kuratomi cfeef81303 For now, skip tests of module_utils/basic functions that are failing on
10 years ago
Toshio Kuratomi e00012994e Also some unicode tests for return_values()
10 years ago
Toshio Kuratomi 5fdfe6a0f2 Add some test data that has unicode values
10 years ago
Brano Zarnovican 90f99f29ae unittest cover for 'run_command'
11 years ago
Toshio Kuratomi 5a0e63af1e Workaround seeming bug in python-2.6's sys.exit()
11 years ago
Toshio Kuratomi 6e5055e786 Update the use of no_log values to cover everything that heuristic_log_sanitize does.
11 years ago
Toshio Kuratomi c2d188baff Hide values in json returns which were given in parameters marked no_log.
11 years ago
Toshio Kuratomi 15d7f53846 AnsibleModules.log() fix for python3
11 years ago