ansible/test/units
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
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
ansible_test [ansible-test] attempt to work around podman (#72096) 2020-10-05 20:13:52 -05:00
cli Replace the inhouse collection dependency resolver with resolvelib 2021-01-27 22:23:22 +01:00
compat
config Provide better decryption errors for single vault values (#72362) 2020-11-18 14:25:32 -06:00
errors Fix YAML error message when error is at the end of the file (#73241) 2021-01-19 10:07:36 -05:00
executor Add implicit role_complete block instead of role._eor (#72208) 2020-12-09 09:53:01 +01:00
galaxy Replace the inhouse collection dependency resolver with resolvelib 2021-01-27 22:23:22 +01:00
inventory Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
inventory_test_data/group_vars
mock Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
module_utils Correct pkg_mgr for Fedora-derived OSTree distros (#73445) 2021-02-02 15:09:30 -05:00
modules iptables: Added set module/match_set support (#72984) 2021-01-11 16:32:53 -05:00
parsing vault: Read stdin data as binary on python3 (#52229) 2020-12-09 09:46:32 +01:00
playbook Add implicit role_complete block instead of role._eor (#72208) 2020-12-09 09:53:01 +01:00
plugins use correct executable and options in all cases (#73323) 2021-01-26 20:21:24 -05:00
regex
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils saner path dir management (#72648) 2020-12-14 19:30:13 -05:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py Remove some constants.py deprecated items (#70466) 2020-07-07 18:41:19 -05:00
test_context.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00