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 3e1f6484d7
add optional module_utils import support (#73832)
* add optional module_utils import support

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

ci_complete
4 years ago
..
test.py More boilerplate fixes. (#70224) 5 years ago
test_alias_deprecation.py
test_cwd_missing.py Add integration tests for basic.py _set_cwd. 4 years ago
test_cwd_unreadable.py Add integration tests for basic.py _set_cwd. 4 years ago
test_datetime.py Support datetime.date object in module result (#70595) 4 years ago
test_env_override.py More boilerplate fixes. (#70224) 5 years ago
test_failure.py add optional module_utils import support (#73832) 4 years ago
test_no_log.py no_log mask suboption fallback values and defaults CVE-2021-20228 (#73487) 4 years ago
test_optional.py add optional module_utils import support (#73832) 4 years ago
test_override.py More boilerplate fixes. (#70224) 5 years ago
test_recursive_diff.py Various intentional tests (#72485) 4 years ago