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
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
..
basic Let get_file_attributes() work without `lsattr -v` (#71845) 4 years ago
common AnsibleVaultEncryptedUnicode should be considered a string (#71609) 4 years ago
facts distro: Add support for Pardus distribution (#71663) 4 years ago
json_utils Clean up unit test boilerplate. 4 years ago
parsing Clean up unit test boilerplate. 4 years ago
urls Add multipart/form-data functionality (#69376) 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
conftest.py Clean up unit test boilerplate. 4 years ago
test_api.py api: time.clock compatible code (#70650) 4 years ago
test_distro.py Clean up unit test boilerplate. 4 years ago