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
Sam Doran 46a0e849ed
[stable-2.9] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70718)
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>>.
(cherry picked from commit 566c5e6ce1)

Co-authored-by: Eduard Rozenberg <2648417+edrozenberg@users.noreply.github.com>

Co-authored-by: Eduard Rozenberg <2648417+edrozenberg@users.noreply.github.com>
5 years ago
..
fixtures [stable-2.9] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70718) 5 years ago
hardware Fix race condition in test_sunos_get_uptime_facts 6 years ago
network unit tests: remove unused imports (#59636) 7 years ago
other Clean up ansible-test references in tests. (#60108) 6 years ago
system [stable-2.9] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70718) 5 years ago
__init__.py
base.py unit tests: remove unused imports (#60462) 6 years ago
test_ansible_collector.py Update units to pass on macOS (#60435) 6 years ago
test_collector.py
test_collectors.py
test_date_time.py [stable-2.9] facts - fix incorrect time for some date_time_facts (#70665) (#70997) 5 years ago
test_facts.py Transform octal escape sequences in mtab fields (#60122) 6 years ago
test_timeout.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 6 years ago
test_utils.py