1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/module_utils/basic
Toshio Kuratomi 28227546fa Various python3 updates for module_utils: (#17345)
* Port set_*_if_different functions to python3
* Add surrogate_or_strict and surrogate_or_replace error handlers for
  to_text, to_bytes, to_native
* Set default error handler to surrogate_or_replace
* Make use of the new error handlers in the already ported code
* Move the unittests for module_utils._text as they aren't in basic.py
* Cleanup around SEQUENCETYPE.  On python2.6+ SEQUENCETYPE includes
  strings so make sure code omits those explicitly if necessary
* Allow arg_spec aliases to be other sequence types
2016-09-01 04:19:03 -07:00
..
__init__.py AnsibleModules.log() fix for python3 2015-10-12 13:30:27 -07:00
test__log_invocation.py Ship constants to the modules via internal module params rather than a secondary dict. 2016-05-12 20:30:05 -07:00
test_exit_json.py Enable most unittests on python3 (just some vault unittests and a logging one left) (#17240) 2016-08-25 07:30:03 -07:00
test_heuristic_log_sanitize.py Enable some basic.py tests on python3 (#17167) 2016-08-20 10:13:54 -07:00
test_known_hosts.py Make module_utils.known_hosts.get_fqdn work on ipv6 2015-12-14 19:30:54 +01:00
test_log.py Fix unit tests for module_name commit #16087 2016-06-10 21:13:34 +02:00
test_no_log.py Enable some basic.py tests on python3 (#17167) 2016-08-20 10:13:54 -07:00
test_run_command.py Enable most unittests on python3 (just some vault unittests and a logging one left) (#17240) 2016-08-25 07:30:03 -07:00
test_safe_eval.py A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00
test_set_mode_if_different.py Python3 fixes and porting (#17271) 2016-08-29 09:11:40 -07:00