You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/module_utils/library
Matt Davis 51852557df
add optional module_utils import support (#73832) (#73918)
Treat core and collections module_utils imports nested within any Python block statement (eg, `try`, `if`) as optional. This allows Ansible modules to implement runtime fallback behavior for missing module_utils (eg from a newer version of ansible-core), where previously, the module payload builder would always fail when unable to locate a module_util (regardless of any runtime behavior the module may implement).

* sanity test fixes

(cherry picked from commit 3e1f6484d7)
5 years ago
..
test.py
test_alias_deprecation.py Add tests for new alias deprecation functionality (#61476) 6 years ago
test_cwd_missing.py [stable-2.10] Add integration tests for basic.py _set_cwd. 6 years ago
test_cwd_unreadable.py [stable-2.10] Add integration tests for basic.py _set_cwd. 6 years ago
test_env_override.py
test_failure.py add optional module_utils import support (#73832) (#73918) 5 years ago
test_no_log.py no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) (#73494) 5 years ago
test_optional.py add optional module_utils import support (#73832) (#73918) 5 years ago
test_override.py
test_recursive_diff.py Various intentional tests (#72485) 5 years ago