community.general/tests/unit/plugins/modules
patchback[bot] 56a906e42b
[PR #9578/bcc92e8a backport][stable-9] redhat_subscription: stop manual unsubscribing on unregistration (#9589)
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.

(cherry picked from commit bcc92e8aac)

Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2025-01-20 19:47:17 +01:00
..
interfaces_file Interfaces file spaces fix (#6131) 2023-03-09 20:09:13 +01:00
FakeAnsibleModule.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
FakeXenAPI.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
conftest.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
gitlab.py GitLab group and project access token modules (#7964) 2024-02-25 19:44:49 +01:00
helper.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
hpe_test_utils.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
linode_conftest.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
oneview_conftest.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
oneview_module_loader.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
rhn_conftest.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_alerta_customer.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_apache2_module.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_apk.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_archive.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_bitbucket_access_key.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_bitbucket_pipeline_key_pair.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_bitbucket_pipeline_known_host.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_bitbucket_pipeline_variable.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_bootc_manage.py [PR #8606/1a8f1721 backport][stable-9] Introduce bootc functionality (#8685) 2024-07-27 09:57:35 +02:00
test_campfire.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_circonus_annotation.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_cpanm.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_cpanm.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_datadog_downtime.py [PR #8815/593d302f backport][stable-9] Fix and enable test for datadog_downtime (#8821) 2024-09-01 20:55:10 +02:00
test_dconf.py dconf: Check for changes properly despite style of quotes used by user (#6049) 2023-03-04 20:51:50 +01:00
test_discord.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_django_check.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_django_check.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_django_command.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_django_command.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_django_createcachetable.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_django_createcachetable.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_dnf_config_manager.py [PR #9124/36c7e560 backport][stable-9] dnf_config_manager: use --assumeyes when changing state (#9141) 2024-11-17 20:19:58 +00:00
test_dnsimple.py Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
test_dnsimple_info.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_facter_facts.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_facter_facts.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_gconftool2.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_gconftool2.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_gconftool2_info.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_gconftool2_info.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_gem.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_gio_mime.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_gio_mime.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_github_repo.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_gitlab_deploy_key.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_gitlab_group.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_gitlab_group_access_token.py GitLab group and project access token modules (#7964) 2024-02-25 19:44:49 +01:00
test_gitlab_hook.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_gitlab_project.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_gitlab_project_access_token.py GitLab group and project access token modules (#7964) 2024-02-25 19:44:49 +01:00
test_gitlab_protected_branch.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_gitlab_runner.py Add Gitlab group runners support (#3935) 2023-03-25 08:23:20 +01:00
test_gitlab_user.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_homebrew.py homebrew: Move repeated logic from homebrew modules into module_utils (#8324) 2024-05-11 16:52:43 +02:00
test_homebrew_cask.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_icinga2_feature.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_ini_file.py Add `ignore_spaces` option to `ini_file` to ignore spacing changes (#7273) 2023-09-17 13:22:22 +02:00
test_ipa_getkeytab.py [PR #8938/1d86d496 backport][stable-9] ipa_getkeytab: Create module (#8995) 2024-10-07 22:30:52 +02:00
test_ipa_otpconfig.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_ipa_otptoken.py ipa_otptoken: fix wrong return value string to bool (#7795) 2024-01-16 22:14:26 +01:00
test_ipa_pwpolicy.py ipa: ipa_pwpolicy update pwpolicy module (#7723) 2023-12-31 15:21:59 +01:00
test_ipbase.py Add ipbase_info module (#6477) 2023-05-09 19:48:29 +02:00
test_java_keystore.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_jenkins_build.py Improvements to the jenkins_build module and new jenkins_build_info module (#7204) 2023-09-10 21:28:55 +02:00
test_jenkins_build_info.py Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
test_jenkins_plugin.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_keycloak_authentication.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_keycloak_authentication_required_actions.py Keycloak: Authentication required actions management (#6732) 2023-06-20 19:18:26 +02:00
test_keycloak_client.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_keycloak_client_rolemapping.py keycloak_client_rolemapping.py: add support for subgroups (#6687) 2023-06-18 19:49:00 +02:00
test_keycloak_clientscope.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_keycloak_identity_provider.py [PR #8735/57e28e5a backport][stable-9] keycloak_identity_provider: get cleartext clientsecret (#8744) 2024-08-12 08:07:10 +02:00
test_keycloak_realm.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_keycloak_realm_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_keycloak_realm_keys.py [PR #8823/ea389e70 backport][stable-9] bugfix(keycloak): fix parameters for realm key creation (#8840) 2024-09-08 14:45:47 +02:00
test_keycloak_realm_keys_metadata_info.py [PR #8605/229ed6da backport][stable-9] Add a keycloak module to query keys metadata (#8696) 2024-08-01 17:33:43 +02:00
test_keycloak_role.py Inspq keycloak role composites (#6469) 2023-06-15 06:57:30 +02:00
test_keycloak_user.py Avoid direct type comparisons (#7085) 2023-08-11 09:00:54 +02:00
test_keycloak_user_federation.py [PR #8695/2942eda8 backport][stable-9] keycloak_user_federation: add mapper removal (#8753) 2024-08-12 08:06:13 +02:00
test_keycloak_userprofile.py [PR #8940/c814fd05 backport][stable-9] keycloak_userprofile: improve diff by deserializing fetched `kc.user.profile.config` and serializing it before sending (#9002) 2024-10-07 23:10:29 +02:00
test_linode.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_linode_v4.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_lvg_rename.py lvg_rename: New module to support VG renaming (#6721) 2023-06-19 13:11:03 +02:00
test_lxca_cmms.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_lxca_nodes.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_macports.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_maven_artifact.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_modprobe.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_monit.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_nmcli.py [PR #8897/d4fb6bf8 backport][stable-9] nmcli: conn_reload param and up/down states (#8975) 2024-10-03 16:13:11 +03:00
test_nomad_token.py Feat nomad token module (#7523) 2023-12-03 13:51:39 +01:00
test_npm.py npm: changed to cmdrunner (#6989) 2023-08-12 09:57:49 +02:00
test_ocapi_command.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_ocapi_info.py Remote management modules for OCAPI-based devices. (#5754) 2023-01-22 17:10:36 +01:00
test_one_vm.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_datacenter_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_enclosure_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_ethernet_network.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_ethernet_network_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_fc_network.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_fc_network_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_fcoe_network.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_fcoe_network_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_logical_interconnect_group.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_logical_interconnect_group_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_network_set.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_network_set_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_san_manager.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_san_manager_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_opkg.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_opkg.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_pacman.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_pacman_key.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pagerduty.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_pagerduty_alert.py Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
test_pagerduty_change.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pamd.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_parted.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pkgin.py Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
test_pmem.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pritunl_org.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pritunl_org_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pritunl_user.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pritunl_user_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_proxmox_kvm.py [proxmox_kvm] Don't create VM if name is used without vmid (#6981) 2023-07-23 21:31:57 +02:00
test_proxmox_snap.py [proxmox_template] Fix error while uploading big ISO to Proxmox VE cluster (#6757) 2023-07-02 21:48:26 +02:00
test_proxmox_storage_contents_info.py Proxmox add storage content listing (#7725) 2023-12-31 15:21:20 +01:00
test_proxmox_tasks_info.py [proxmox_template] Fix error while uploading big ISO to Proxmox VE cluster (#6757) 2023-07-02 21:48:26 +02:00
test_proxmox_template.py [proxmox_template] Fix error while uploading big ISO to Proxmox VE cluster (#6757) 2023-07-02 21:48:26 +02:00
test_proxmox_vm_info.py [proxmox_vm_info] Add ability to retrieve config (#7485) 2023-12-04 05:59:21 +01:00
test_puppet.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_puppet.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_redhat_subscription.py [PR #9578/bcc92e8a backport][stable-9] redhat_subscription: stop manual unsubscribing on unregistration (#9589) 2025-01-20 19:47:17 +01:00
test_redis_data.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_redis_data_incr.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_redis_data_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_redis_info.py [PR #8654/52126b8f backport][stable-9] Add TLS certs params to redis (#8672) 2024-07-23 22:03:13 +02:00
test_rhn_channel.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_rhn_register.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_rhsm_release.py rhsm_release: improve the execution of subscription-manager (#6669) 2023-06-11 08:34:25 +00:00
test_rhsm_repository.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_rpm_ostree_pkg.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_scaleway_compute_private_network.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_scaleway_private_network.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_simpleinit_msb.py Support for simpleinit-msb init system (#6618) 2023-10-03 06:37:46 +02:00
test_slack.py Fix Python 3.12 unit tests (#7348) 2023-10-04 23:23:11 +02:00
test_snap.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_solaris_zone.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_ss_3par_cpg.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_statsd.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_sysupgrade.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_terraform.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_ufw.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_usb_facts.py Implement usb_facts module (#8076) 2024-03-18 21:35:36 +01:00
test_wdc_redfish_command.py [PR #8444/feb1ecbf backport][stable-9] Fix to handle Redfish Gen2 Firmware upgrade (#8601) 2024-07-08 22:25:30 +02:00
test_wdc_redfish_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_xcc_redfish_command.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_xenserver_guest_info.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_xenserver_guest_powerstate.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_xfconf.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_xfconf.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_xfconf_info.py [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
test_xfconf_info.yaml [PR #8894/8ef77d86 backport][stable-9] unit test helper: big revamp (#8943) 2024-09-28 08:33:00 +03:00
utils.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
xenserver_common.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
xenserver_conftest.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00