mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 12:33:59 -07:00
* 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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test__log_invocation.py | ||
| test_exit_json.py | ||
| test_heuristic_log_sanitize.py | ||
| test_known_hosts.py | ||
| test_log.py | ||
| test_no_log.py | ||
| test_run_command.py | ||
| test_safe_eval.py | ||
| test_set_mode_if_different.py | ||