Commit Graph

44 Commits (stable-2.3)

Author SHA1 Message Date
Abhijeet Kasurde 4506da6a6f Fix UnboundLocalError in basic.py
9 years ago
Toshio Kuratomi 49194a66c8 Fix log_invocation function to pass unittests on python3
9 years ago
Will Thames 103ede26df Ensure ssh hostkey checks respect server port (#20840)
9 years ago
Pilou f2c22109fb Don't mix deprecations messages with warnings messages (#21337)
9 years ago
Matt Martz 87aa59af79 Legacy pep8 updates for setup.py and tests
9 years ago
Matt Clay 57a5490c41 Fix test which fails on some python 2.6 installs.
9 years ago
Matt Clay 272ff10fa1 Fix @contextmanager leak on exception. (#21031)
9 years ago
Toshio Kuratomi 1609afbd12 Unittests for some of module_common.py (#20812)
9 years ago
Matt Clay 10d9318de7 PEP 8 indent cleanup. (#20800)
9 years ago
Gordon Gao d9e1e374b2 let chdir support relative path in more modules (#16736)
9 years ago
Toshio Kuratomi 08a58ae025 Fix for run_command tests now that it returns native strings
10 years ago
Toshio Kuratomi 28227546fa Various python3 updates for module_utils: (#17345)
10 years ago
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'
10 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