ansible/test/units/module_utils
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
..
basic Let get_file_attributes() work without lsattr -v (#71845) 2020-09-22 16:15:47 -05:00
common AnsibleVaultEncryptedUnicode should be considered a string (#71609) 2020-09-03 14:54:00 -05:00
facts distro: Add support for Pardus distribution (#71663) 2020-09-15 09:47:24 -04:00
json_utils Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
parsing Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
urls Add multipart/form-data functionality (#69376) 2020-05-20 15:44:01 -05:00
__init__.py
conftest.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_api.py api: time.clock compatible code (#70650) 2020-07-16 12:24:22 +05:30
test_distro.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00