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>
2020-02-28 10:39:27 -05:00
..
parameters Fix removed_in_version to support honor suboptions (#66918) 2020-02-04 10:14:55 -05:00
process "Fix" test_get_bin_path by changing mock order (#67730) 2020-02-28 10:39:27 -05:00
text Add human_to_bytes isbits arg unit tests&docstring 2019-07-23 14:56:56 +02:00
validation Fix unit tests to work with pytest >= 5.0 (#60246) 2019-08-09 14:58:46 -04:00
warnings Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993) 2020-01-28 12:12:14 -05:00
__init__.py
test_collections.py Fix module_utils.common.test_collections testsuite 2019-05-31 13:40:18 +02:00
test_dict_transformations.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_network.py
test_removed.py unittests for module_utils.common.removed.removed_module function (#57214) 2019-06-03 11:12:12 -04:00
test_sys_info.py Use distro.id() instead of distro.name() (#52199) 2019-03-07 13:25:59 -05:00
test_utils.py Cleanups to the common.sys_info API 2019-01-03 16:21:09 -08:00