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 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>
4 years ago
..
basic Let `command` always return stdout & stderr (#73004) 4 years ago
common arg_spec - rework _check_arguments() (#72447) 4 years ago
facts Correct pkg_mgr for Fedora-derived OSTree distros (#73445) 4 years ago
json_utils Clean up unit test boilerplate. 4 years ago
parsing Clean up unit test boilerplate. 4 years ago
urls Make `test_prepare_multipart` succeed on non Debian distros 4 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