community.general/tests/unit/plugins
Pino Toscano bcc92e8aac
redhat_subscription: stop manual unsubscribing on unregistration (#9578)
Unregistering a system also drops all the resources for it
automatically, so there is no need to manually unsubscribing (which
actually means removing all the subscriptions).

In addition to that, newer versions of subscription-manager drop all the
support for entitlements, so the "remove" subcommand (used by
unsubscribe()) does not exist anymore, and thus the unregistration fails
with those versions.

This fixes the registration on EL 10 systems, and Fedora 41 and greater.
2025-01-20 19:37:51 +01:00
..
become add systemd run0 as a become method (#8306) 2024-05-11 16:53:44 +02:00
cache Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
callback remove code handling unsupported Python versions (#9496) 2024-12-31 10:37:10 +01:00
connection Proxmox remote pct connection (#8424) 2025-01-18 16:27:06 +01:00
filter Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
inventory Fix #9538 Inventory iocage fails when DHCP is enabled (#9539) 2025-01-13 18:08:23 +01:00
lookup github_app_access_token: add support for private key fact (#8989) 2024-10-21 20:53:18 +02:00
module_utils deps module utils: unit tests + minor improvement (#9179) 2024-11-24 22:09:53 +01:00
modules redhat_subscription: stop manual unsubscribing on unregistration (#9578) 2025-01-20 19:37:51 +01:00
plugin_utils Add test for unsafe plugin util (#8345) 2024-05-12 00:36:12 +02:00