ansible/test/units/module_utils
Rick Elrod 9a9272305a
Correct pkg_mgr for Fedora-derived OSTree distros (#73445)
Change:
- Remove check that states that only Fedora can be an OSTree
  distribution.
- This allows us to correctly return "atomic_container" as the pkg_mgr
  fact for RHEL for Edge, Fedora/RHEL/CentOS Atomic Host, etc.

Test Plan:
- Created local RHEL for Edge image and tested against it.
- Tested against regular RHEL 8 and still got `dnf` as expected.
- Tested against RHEL 7 Atomic Host and got `atomic_container` now.
- New unit tests.

Tickets:
- Fixes #73084

Signed-off-by: Rick Elrod <rick@elrod.me>
2021-02-02 15:09:30 -05:00
..
basic Let command always return stdout & stderr (#73004) 2021-01-22 08:40:53 +01:00
common arg_spec - rework _check_arguments() (#72447) 2020-11-18 14:15:33 -05:00
facts Correct pkg_mgr for Fedora-derived OSTree distros (#73445) 2021-02-02 15:09:30 -05: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 Make test_prepare_multipart succeed on non Debian distros 2021-01-13 21:21:33 +01: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