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/basic
Sloane Hertel 2bb09bfd12
atomic_move - fix preserving extended acls (#82818)
* use copystat to copy as many attributes as possible before os.rename

update unit test mocks for updated method of attribute preservation

add integration test for lineinfile case

remove erroneous `- meta: end_play` from lineinfile test suite

* add keep_dest_attrs parameter to control whether src attributes are
copied initially, and for existing destinations, whether the src is
updated using the dest before being renamed

consolidate with copy unsetting extended attrs

ci_complete
7 months ago
..
__init__.py AnsibleModules.log() fix for python3 9 years ago
test__log_invocation.py Require `from __future__ import annotations` (#81902) 1 year ago
test__symbolic_mode_to_octal.py Require `from __future__ import annotations` (#81902) 1 year ago
test_argument_spec.py Remove Python 2 compat (via six) from unit tests 12 months ago
test_atomic_move.py atomic_move - fix preserving extended acls (#82818) 7 months ago
test_command_nonexisting.py Require `from __future__ import annotations` (#81902) 1 year ago
test_deprecate_warn.py Require `from __future__ import annotations` (#81902) 1 year ago
test_dict_converters.py Remove Python 2 compat (via six) from unit tests 12 months ago
test_exit_json.py Unit test cleanup (#81958) 1 year ago
test_filesystem.py Remove unused/unreachable unit test code (#82160) 12 months ago
test_get_available_hash_algorithms.py Unit test cleanup (#81958) 1 year ago
test_get_file_attributes.py Require `from __future__ import annotations` (#81902) 1 year ago
test_get_module_path.py Remove Python 2 compat (via six) from unit tests 12 months ago
test_heuristic_log_sanitize.py Remove Python 2.x compat from unit tests (#82109) 12 months ago
test_imports.py Remove Python 2 compat (via six) from unit tests 12 months ago
test_log.py Remove unit tests dependent on systemd bindings (#82161) 12 months ago
test_no_log.py Remove unused/unreachable unit test code (#82160) 12 months ago
test_platform_distribution.py Remove Python 2 compat (via six) from unit tests 12 months ago
test_run_command.py Remove unused/unreachable unit test code (#82160) 12 months ago
test_safe_eval.py Require `from __future__ import annotations` (#81902) 1 year ago
test_sanitize_keys.py Require `from __future__ import annotations` (#81902) 1 year ago
test_selinux.py Remove Python 2 compat (via six) from unit tests 12 months ago
test_set_cwd.py Remove Python 2.x compat from unit tests (#82109) 12 months ago
test_set_mode_if_different.py 🔥 Exterminate `__builtin__` import from tests (#82569) 9 months ago
test_tmpdir.py Remove unused/unreachable unit test code (#82160) 12 months ago