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
Rick Elrod 5cd489af06
Let get_file_attributes() work without `lsattr -v` (#71845)
* Let get_file_attributes() work without `lsattr -v`

Change:
- module_utils's get_file_attributes() expects `lsattr -v` to work, but
  in some cases, it may not.
- The function now takes an optional include_version bool parameter,
  which removes this expectation.
- Places where we call get_file_attributes() without using the 'version'
  it returns, we now call it with include_version=False.

Test Plan:
- New unit tests

Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
..
_vendor transparent downstream vendoring (#69850) 4 years ago
ansible_test Add Azure Pipelines support to ansible-test. 4 years ago
cli Update ansible doc formats (#71070) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Clean up unit test boilerplate. 4 years ago
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 5 years ago
executor fix internal cases of actions calling unqualified module names (#70818) 4 years ago
galaxy Improve ansible-galaxy STDOUT messages for collections (#70040) 4 years ago
inventory Clean up unit test boilerplate. 4 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Clean up unit test boilerplate. 4 years ago
module_utils Let get_file_attributes() work without `lsattr -v` (#71845) 4 years ago
modules sanity: remove ansible-bad-function (#70431) 4 years ago
parsing Add more include and yaml parsing tests (#70506) 4 years ago
playbook Remove duplicate unit test (#71488) 4 years ago
plugins powershell - fix nested CLIXML parser (#71412) 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils fix coverage output from synthetic packages (#71727) 4 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Remove unnecessary unit test requirements. 5 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago