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>
2020-09-22 16:15:47 -05:00
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
ansible_test Add Azure Pipelines support to ansible-test. 2020-06-11 14:57:42 -07:00
cli Update ansible doc formats (#71070) 2020-08-05 10:53:25 -07:00
compat
config Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
errors
executor fix internal cases of actions calling unqualified module names (#70818) 2020-07-23 09:02:57 -07:00
galaxy Improve ansible-galaxy STDOUT messages for collections (#70040) 2020-06-29 15:18:30 -04:00
inventory Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
inventory_test_data/group_vars
mock Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
module_utils Let get_file_attributes() work without lsattr -v (#71845) 2020-09-22 16:15:47 -05:00
modules sanity: remove ansible-bad-function (#70431) 2020-07-07 11:46:28 -04:00
parsing Add more include and yaml parsing tests (#70506) 2020-08-04 11:24:52 -07:00
playbook Remove duplicate unit test (#71488) 2020-08-27 15:55:30 -04:00
plugins powershell - fix nested CLIXML parser (#71412) 2020-08-26 07:06:19 +10:00
regex
template
utils fix coverage output from synthetic packages (#71727) 2020-09-14 09:14:23 -07:00
vars
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py Remove some constants.py deprecated items (#70466) 2020-07-07 18:41:19 -05:00
test_context.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00