1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins
patchback[bot] 2cc72c2213
Pacman: Add support for install reason (#4956) (#5040)
* 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>
(cherry picked from commit 9f3841703f)

Co-authored-by: Minei3oat <Minei3oat@users.noreply.github.com>
2022-07-31 22:55:21 +02:00
..
become Use become test framework for sudosu tests. (#2629) 2021-05-26 10:34:35 +02:00
cache [5.0.0] Remove Ansible 2.9 / ansible-base 2.10 compatibility code (#4548) 2022-04-26 11:51:01 +02:00
callback [opentelemetry][callback] fix warning when using the include_tasks (#4623) 2022-05-05 08:21:16 +02:00
connection Removal of docker content for 2.0.0 (#1304) 2020-11-23 13:03:19 +01:00
inventory Misc. typo fixes (#4940) (#4942) 2022-07-11 22:18:22 +02:00
lookup RevBits PAM Secret Server Plugin (#3405) 2021-11-22 13:49:51 +01:00
module_utils Misc. typo fixes (#4940) (#4942) 2022-07-11 22:18:22 +02:00
modules Pacman: Add support for install reason (#4956) (#5040) 2022-07-31 22:55:21 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00