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/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 Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
conftest.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
test_apk.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
test_homebrew.py Resolve homebrew and homebrew_cask package name validation issues (#1038) 2020-10-27 22:46:49 +01:00
test_homebrew_cask.py Resolve homebrew and homebrew_cask package name validation issues (#1038) 2020-10-27 22:46:49 +01:00
test_macports.py Fix macports package present/active detection (#1308) 2020-11-26 06:59:32 +01:00
test_pacman.py Pacman: Add support for install reason (#4956) 2022-07-31 22:10:49 +02:00
test_pacman_key.py add module pacman_key (#778) 2021-06-04 07:08:54 +02:00
test_pkgin.py feat(pkgin): add support for installation of full versioned package names (#1256) 2020-11-21 21:20:27 +01:00
test_redhat_subscription.py redhat_subscription: call 'remove' instead of 'unsubscribe' (#4809) 2022-06-14 07:26:38 +02:00
test_rhn_channel.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
test_rhn_register.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
test_rhsm_release.py rhsm_release: Fix the issue that rhsm_release module considers 8, 7Client and 7Workstation as invalid releases (#2571) 2021-05-24 21:59:52 +02:00
test_rpm_ostree_pkg.py rpm_ostree_pkg: new module (#357) 2021-01-11 09:47:22 +03:00