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/units/module_utils/common
Rick Elrod ed37efb217
"Fix" test_get_bin_path by changing mock order (#67730)
pytest-mock 2.0.0, when run locally, gets grumpy when os.path.exists is
messed with and then another method is patched afterwards. Likely
something in the pytest-mock chain uses os.path.exists internally, and
since pytest-mock prohibits context-specific patching, there's not a
good solution. For now, just patch os.path.exists last.

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
..
parameters Fix removed_in_version to support honor suboptions (#66918) 5 years ago
process "Fix" test_get_bin_path by changing mock order (#67730) 5 years ago
text Add human_to_bytes isbits arg unit tests&docstring 5 years ago
validation Fix unit tests to work with pytest >= 5.0 (#60246) 5 years ago
warnings Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993) 5 years ago
__init__.py Add tests for module_utils.common.collections 6 years ago
test_collections.py Fix module_utils.common.test_collections testsuite 5 years ago
test_dict_transformations.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_network.py Move network utils that are used by AWS modules (#45579) 6 years ago
test_removed.py unittests for module_utils.common.removed.removed_module function (#57214) 5 years ago
test_sys_info.py Use distro.id() instead of distro.name() (#52199) 6 years ago
test_utils.py Cleanups to the common.sys_info API 6 years ago