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 1609afbd12 Unittests for some of module_common.py (#20812)
* Unittests for some of module_common.py
* Port test_run_command to use pytest-mock

The use of addCleanup(patch.stopall) from the unittest idiom was
conflicting with the pytest-mock idiom of closing all patches
automatically.  Switching to pytest-mock ensures that the patches are
closed and removing the stopall stops the conflict.
2017-01-30 13:51:27 -08: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 PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00: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 PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
test_no_log.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
test_run_command.py Unittests for some of module_common.py (#20812) 2017-01-30 13:51:27 -08:00
test_safe_eval.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
test_set_mode_if_different.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00