community.general/tests/unit/plugins/modules
patchback[bot] dda872c3e6
[PR #10743/469e557b backport][stable-11] monit: handle arbitrary error status (#10760)
monit: handle arbitrary error status (#10743)

* handle arbitrary error status

* add changelog fragment

* mock module in test

* Update changelogs/fragments/10743-monit-handle-unknown-status.yml



---------


(cherry picked from commit 469e557b95)

Co-authored-by: Simon Kelly <skelly@dimagi.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-08-28 22:17:56 +02:00
..
interfaces_file Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
conftest.py [PR #10687/47e8a3c1 backport][stable-11] ansible-core 2.20: avoid deprecated functionality (#10693) 2025-08-18 05:18:31 +00: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
gitlab.py gitlab_*_access_token: handle revoked field in group and project access tokens (#10196) 2025-06-06 06:16:54 +02: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 Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_alerta_customer.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_apache2_module.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_apk.py [PR #10520/2a4222c0 backport][stable-11] apk: command args as list rather than string (#10586) 2025-08-04 20:50:17 +02:00
test_archive.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_bitbucket_access_key.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_bitbucket_pipeline_key_pair.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_bitbucket_pipeline_known_host.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_bitbucket_pipeline_variable.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_bootc_manage.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_campfire.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_circonus_annotation.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_composer.py [PR #10669/13bd4b5d backport][stable-11] composer: fix command args as list rather than string (#10680) 2025-08-17 12:53:22 +02:00
test_composer.yaml [PR #10669/13bd4b5d backport][stable-11] composer: fix command args as list rather than string (#10680) 2025-08-17 12:53:22 +02:00
test_cpanm.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_cpanm.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_datadog_downtime.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01: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 Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_django_check.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_django_check.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_django_command.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_django_command.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_django_createcachetable.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_django_createcachetable.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_dnf_config_manager.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_dnsimple.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_dnsimple_info.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_facter_facts.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_facter_facts.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_gconftool2.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_gconftool2.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_gconftool2_info.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_gconftool2_info.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_gem.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_gio_mime.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_gio_mime.yaml test helper: add support for check and diff modes (#9666) 2025-02-02 02:17:58 +13:00
test_github_repo.py [PR #10511/6ce9f805 backport][stable-11] CI: Add Python 3.14 unit tests (#10516) 2025-07-30 06:10:06 +02: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_*_access_token: handle revoked field in group and project access tokens (#10196) 2025-06-06 06:16:54 +02: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_*_access_token: handle revoked field in group and project access tokens (#10196) 2025-06-06 06:16:54 +02: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 Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_homebrew_cask.py homebrew_cask: Handle unusual brew version strings (#9881) 2025-03-15 08:04:06 +01:00
test_icinga2_feature.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01: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 Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_ipa_otpconfig.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_ipa_otptoken.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_ipa_pwpolicy.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_ipbase.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_java_keystore.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_jenkins_build.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_jenkins_build_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_jenkins_credential.py [PR #10170/52cd1049 backport][stable-11] jenkins_credentials: new module to manage Jenkins credentials (#10294) 2025-06-24 06:51:33 +02:00
test_jenkins_node.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_jenkins_plugin.py [PR #10687/47e8a3c1 backport][stable-11] ansible-core 2.20: avoid deprecated functionality (#10693) 2025-08-18 05:18:31 +00:00
test_keycloak_authentication.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_authentication_required_actions.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_client.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_client_rolemapping.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_clientscope.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_component.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_identity_provider.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_realm.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_realm_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_realm_keys.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_realm_keys_metadata_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_role.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_user.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_user_federation.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_keycloak_userprofile.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_krb_ticket.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_krb_ticket.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_linode.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_linode_v4.py [PR #10327/5a5b2d2e backport][stable-11] remove unnecessary checks for unsupported python versions (#10330) 2025-07-02 06:58:13 +02:00
test_lvg_rename.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_lxca_cmms.py [PR #10507/5601ef4c backport][stable-11] arg_spec adjustments: modules [k-n]* (#10529) 2025-07-31 22:58:26 +02:00
test_lxca_nodes.py [PR #10507/5601ef4c backport][stable-11] arg_spec adjustments: modules [k-n]* (#10529) 2025-07-31 22:58:26 +02: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 [PR #10327/5a5b2d2e backport][stable-11] remove unnecessary checks for unsupported python versions (#10330) 2025-07-02 06:58:13 +02:00
test_monit.py [PR #10743/469e557b backport][stable-11] monit: handle arbitrary error status (#10760) 2025-08-28 22:17:56 +02:00
test_nmcli.py nmcli: add autoconnect priority and retries (#10134) 2025-05-28 21:41:22 +02:00
test_nomad_token.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_npm.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_ocapi_command.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_ocapi_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_one_vm.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_oneview_datacenter_info.py [PR #10711/62fa3e6f backport][stable-11] remove trailing comma in dict(parameters,) (#10724) 2025-08-23 19:43:36 +02:00
test_oneview_enclosure_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_ethernet_network.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_ethernet_network_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_fc_network.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_fc_network_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_fcoe_network.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_fcoe_network_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_logical_interconnect_group.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_logical_interconnect_group_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_network_set.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_network_set_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_san_manager.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_oneview_san_manager_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_opkg.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_opkg.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_pacemaker_cluster.py [PR #10227/283d947f backport][stable-11] pacemaker_cluster: enhancements and add unit tests (#10408) 2025-07-14 09:55:32 +02:00
test_pacemaker_cluster.yaml [PR #10707/63321754 backport][stable-11] pacemaker: Add regex checking for maintenance-mode (#10749) 2025-08-27 22:09:23 +02:00
test_pacemaker_info.py [PR #10291/47aec260 backport][stable-11] pacemaker_info: new module and enhance cli_action (#10584) 2025-08-04 20:49:59 +02:00
test_pacemaker_info.yaml [PR #10291/47aec260 backport][stable-11] pacemaker_info: new module and enhance cli_action (#10584) 2025-08-04 20:49:59 +02:00
test_pacemaker_resource.py add pacemaker_resource plugin (#9531) 2025-03-05 21:08:42 +01:00
test_pacemaker_resource.yaml [PR #10413/3b09e9d9 backport][stable-11] pacemaker_resource: add cleanup state (#10750) 2025-08-27 22:09:33 +02:00
test_pacemaker_stonith.py [PR #10195/e4373565 backport][stable-11] pacemaker_stonith: new module (#10719) 2025-08-23 19:44:54 +02:00
test_pacemaker_stonith.yaml [PR #10195/e4373565 backport][stable-11] pacemaker_stonith: new module (#10719) 2025-08-23 19:44:54 +02:00
test_pacman.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pacman_key.py pacman_key: support checking for expired and untrusted keys (#9950) 2025-06-02 20:41:53 +02:00
test_pagerduty.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pagerduty_alert.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pagerduty_change.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pamd.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_parted.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pkgin.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pmem.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pritunl_org.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pritunl_org_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pritunl_user.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_pritunl_user_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_puppet.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_puppet.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_redhat_subscription.py redhat_subscription: stop manual unsubscribing on unregistration (#9578) 2025-01-20 19:37:51 +01:00
test_redis_data.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_redis_data_incr.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_redis_data_info.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_redis_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_rhsm_release.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_rhsm_repository.py 10.0.0: remove deprecated features (#8918) 2024-09-28 08:11:21 +03:00
test_rpm_ostree_pkg.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_rundeck_acl_policy.py rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint (#10097) 2025-05-17 08:01:32 +02:00
test_scaleway_compute_private_network.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_scaleway_private_network.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_simpleinit_msb.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_slack.py [PR #10270/1ed0f329 backport][stable-11] slack: support slack-gov.com (#10296) 2025-06-25 08:21:51 +02:00
test_snap.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_solaris_zone.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_ss_3par_cpg.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_statsd.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_sysupgrade.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_terraform.py Use more unit test utils from community.internal_test_tools (#9918) 2025-03-22 13:12:31 +01:00
test_ufw.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_usb_facts.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_wdc_redfish_command.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_wdc_redfish_info.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_xcc_redfish_command.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01:00
test_xdg_mime.py Add xdg_mime module (#10007) 2025-04-26 12:34:03 +02:00
test_xdg_mime.yaml Add xdg_mime module (#10007) 2025-04-26 12:34:03 +02: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 rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_xfconf.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
test_xfconf_info.py rename test helper (#9736) 2025-02-15 18:26:25 +13:00
test_xfconf_info.yaml test helper unit tests: reformat YAML files (#9664) 2025-02-01 23:16:03 +13:00
uthelper.py [PR #10669/13bd4b5d backport][stable-11] composer: fix command args as list rather than string (#10680) 2025-08-17 12:53:22 +02:00
utils.py Unit tests: replace mock and compat with code from community.internal_test_tools (#9921) 2025-03-22 14:12:56 +01: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