ansible/test/units/module_utils/facts/system/distribution
Eduard Rozenberg 566c5e6ce1
Handle Slackware OS version strings containing a plus (“+”) (#68142)
A couple of years ago Slackware -current began using a plus (“+”) at the end of the distribution version string to indicate a future version work-in-progress.

Rearrange distribution_files unit tests to easily support more tests
  - add conftest with common fixtures 
  - use parametrize for testing multiple scenarios

* Add changelog
* Add unit tests for Slackware distribution parsing
* Use correct fixtures for Slackware
Data comes from /etc/slackware-version

Co-authored-by: Sam Doran <sdoran@redhat.com>
Co-authored-by: <Eduard Rozenberg <eduardr@pobox.com>>
2020-07-17 16:39:26 -04:00
..
fixtures Add support for Parrot Linux, a Debian derivate (#69158) 2020-06-29 20:22:44 +05:30
__init__.py
conftest.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00
test_distribution_version.py
test_parse_distribution_file_ClearLinux.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00
test_parse_distribution_file_Slackware.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00