1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-12 04:34:08 +00:00
community.general/tests/unit/plugins/modules/packaging/os
Minei3oat 9f3841703f
Pacman: Add support for install reason (#4956)
* Pacman: Add support for setting install reason

* Improved description

* Fix documentation

* Add changelog fragment

* Use source for installation

* Get all reasons at once

* Removed default for reason

* Added version info to documentation

* Fix NameError

* Moved determination of reason to _build_inventory

* Fix duplication and sanity errors

* adjust tests for changed inventory

* Documentation: remove empty default for reason

* mention packages with changed reason in exit params/info

* Added integration tests for reason and reason_for

Inspired by the integration tests for url packages

* Correct indentation

* Fix indentation

* Also sort changed packages in normal mode

* Also sort result in unit test

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-07-31 22:10:49 +02:00
..
__init__.py
conftest.py
test_apk.py
test_homebrew.py
test_homebrew_cask.py
test_macports.py
test_pacman.py
test_pacman_key.py
test_pkgin.py
test_redhat_subscription.py
test_rhn_channel.py
test_rhn_register.py
test_rhsm_release.py
test_rpm_ostree_pkg.py