1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/module_utils/basic
Toshio Kuratomi 5844c8c7f0 Cleanups to the common.sys_info API
* Move get_all_subclasses out of sys_info as it is unrelated to system
  information.
* get_all_subclasses now returns a set() instead of a list.
* Don't port get_platform to sys_info as it is deprecated.  Code using
  the common API should just use platform.system() directly.
* Rename load_platform_subclass() to get_platform_subclass and do not
  instantiate the rturned class.
* Test the compat shims in module_utils/basic.py separately from the new
  API in module_utils/common/sys_info.py and module_utils/common/_utils.py
2019-01-03 16:21:09 -08:00
..
__init__.py
test__log_invocation.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test__symbolic_mode_to_octal.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_argument_spec.py Fix unit test issues with pytest >= 4.0.0. 2018-11-15 10:06:07 -08:00
test_atomic_move.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_deprecate_warn.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_dict_converters.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_exit_json.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_filesystem.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_get_file_attributes.py AnsibleModule.get_file_attributes: add unit test 2017-12-18 15:49:25 -05:00
test_get_module_path.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_heuristic_log_sanitize.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_imports.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_log.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_no_log.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_platform_distribution.py Cleanups to the common.sys_info API 2019-01-03 16:21:09 -08:00
test_run_command.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_safe_eval.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_selinux.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_set_mode_if_different.py If check mode enabled and file missing set changed to true 32676 (#33967) 2018-01-04 20:33:14 -08:00
test_tmpdir.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00