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
Adrian Likins 6c6b647182 Fix 'ansible-vault edit /some/symlink' (#20417)
Since vault edit attempts to unlink
edited files before creating a new file
with the same name and writing to it, if
the file was a symlink, the symlink would
be replaced with a regular file.

VaultEditor file ops now check if files
it is changing are symlinks and instead
works directly on the target, so that
os.rename() and shutils do the right thing.

Add unit tests cases for this case and
assorted VaultEditor test cases.

Fixes #20264
8 years ago
..
cli Legacy pep8 updates for setup.py and tests 8 years ago
contrib PEP 8 W291 whitespace cleanup. 8 years ago
errors Legacy pep8 updates for setup.py and tests 8 years ago
executor Legacy pep8 updates for setup.py and tests 8 years ago
inventory Add lots of test cases to inventory/test_host.py (#17827) 8 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Legacy pep8 updates for setup.py and tests 8 years ago
module_utils Postgres ssl mode prefer (#21498) 8 years ago
modules [cloud][tests] AWS lambda module unit tests (#21768) 8 years ago
parsing Fix 'ansible-vault edit /some/symlink' (#20417) 8 years ago
playbook Legacy pep8 updates for setup.py and tests 8 years ago
plugins partial revert of changes introduced in d5f7a0181b (#21688) 8 years ago
template Don't check for var._obj in template._clean_data (#20868) 8 years ago
utils PEP 8 indent cleanup. (#20800) 8 years ago
vars PEP 8 indent cleanup. (#20800) 8 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_constants.py Add some unittests for lib/ansible/constants.py 8 years ago