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/facts/system/distribution
Abhijeet Kasurde 34f8f55d9e
facts: Skip path if the distribution path is directory (#84012)
* facts: Skip path if the distribution path is directory

Skip path if the distribution path is directory instead of file.
Handle exception raised while handling distribution path.

Fixes: #84006

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

* Review requests

---------

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
..
fixtures Add SL-Micro to Suse family list (#83541) 1 year ago
__init__.py distribution: Refactor test_distribution_version testcases (#69300) 6 years ago
conftest.py Remove Python 2.x compat from unit tests (#82109) 2 years ago
test_distribution_files.py facts: Skip path if the distribution path is directory (#84012) 1 year ago
test_distribution_sles4sap.py Require `from __future__ import annotations` (#81902) 2 years ago
test_distribution_version.py Remove Python 2 compat (via six) from unit tests 2 years ago
test_parse_distribution_file_ClearLinux.py Require `from __future__ import annotations` (#81902) 2 years ago
test_parse_distribution_file_Slackware.py Require `from __future__ import annotations` (#81902) 2 years ago