ansible/test/units
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
..
cli Specify display width and no color in test_execute_list_collection_no_valid_paths (#67680) 2020-02-24 13:43:32 -05:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Fix inline vaults for plugins in ensure_type (#67492) 2020-02-25 10:42:31 -05:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
executor Try to load action plugin from the same collection as the module (#66701) 2020-01-31 12:49:37 -05:00
galaxy Do not error if collection specified null dependencies (#67575) 2020-02-20 11:23:23 -05:00
inventory_test_data/group_vars
mock Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
module_utils "Fix" test_get_bin_path by changing mock order (#67730) 2020-02-28 10:39:27 -05:00
modules Resource module for IOS static routes (#64632) 2020-02-28 18:29:17 +05:30
parsing Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
playbook Check if task file is specified for import_tasks (#57572) 2019-12-24 10:26:32 +05:30
plugins Fix UNC path support in the powershell shell plugin (#66604) 2020-02-04 16:34:11 +10:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils combine filter: fine list handling (option b) (#57894) 2020-02-12 16:40:36 -05:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Fix ansible-test collections requirements installation. (#62181) 2019-09-12 02:00:33 -07:00
test_constants.py
test_context.py Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00