Commit Graph

60 Commits (2ffb136b3febe6efe09d0c8b745b7cbbf5c747d3)

Author SHA1 Message Date
Toshio Kuratomi fa804125b5 Python3 fixes and porting (#17271)
10 years ago
Alexander Stock 238cccf166 Fix "Text file busy" exception in atomic_move (#9526) (#17204)
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 a22909c226 Migrate basestring to a python3 compatible type (#17199)
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 bd31cc096a Fix facts.py for python3 (#17131)
10 years ago
Adrian Likins 7bd57acda4 Linux mount/fs (lsblk) facts fixes and tests. (#17036)
10 years ago
Toshio Kuratomi c8a8f546d4 A little unittest refactoring (#16704)
10 years ago
Robin Roth 1f04130c00 add more distribution version tests (#16563)
10 years ago
Nate Coraor 706778ee7f Fix distro detection for Solaris derivatives
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
Robin Roth 1d6608e84f Dist version fix for Red Hat and more tests (#15663)
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
Robin Roth 49cdc565c5 remove nose.tools use
10 years ago
Robin Roth 4088aa2b4c get rid of assert_in
10 years ago
Robin Roth 692bf51fde move gen_testcase to hacking/tests
10 years ago
Robin Roth 37188ea336 cleanup tests
10 years ago
Robin Roth 2b104fe6ad fix tests for SLES and CoreOS
10 years ago
Robin Roth 3c883d8a6d add testcases from refactor PR
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
James Cammarata b853e932d1 Adding unit tests for symbolic mode conversion stuff in basic.py
10 years ago
James Cammarata 18240d350c Adding a skip for the literal_eval test on py3
10 years ago
James Cammarata 0ea3a9d08d Removing tabs from test_basic.py
10 years ago
James Cammarata 1de9357c2f Attempt at cleaning up issues introduced by new basic.py unit tests
10 years ago
James Cammarata e011f52557 Expanding unit tests for module_utils/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
11 years ago
Toshio Kuratomi e00012994e Also some unicode tests for return_values()
11 years ago
Toshio Kuratomi 5fdfe6a0f2 Add some test data that has unicode values
11 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
Marius Gedminas 225fe85530 Skip test_module_utils_basic_ansible_module_creation on Python 3
11 years ago