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
patchback[bot] 058462973e
[PR #7154/8652fd95 backport][stable-6] Refactored unit tests for modules based on CmdRunner (#7167)
Refactored unit tests for modules based on CmdRunner (#7154)

* refactored unit tests for modules based on CmdRunner

* improved/fixed test helper

* fixed sanity

* refactored yaml spec out of the python file

* small adjustments

(cherry picked from commit 8652fd9528)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2023-08-29 13:22:08 +02:00
..
interfaces_file [PR #6131/abcba9db backport][stable-6] Interfaces file spaces fix (#6169) 2023-03-09 20:31:08 +01:00
cmd_runner_test_utils.py [PR #7154/8652fd95 backport][stable-6] Refactored unit tests for modules based on CmdRunner (#7167) 2023-08-29 13:22:08 +02:00
conftest.py [PR #6459/24efe6b9 backport][stable-6] Make sure that plugins/module_utils/deps.py is cleaned up before every test (#6462) 2023-04-29 22:27:12 +02: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 [PR #3935/f3be0076 backport][stable-6] Add Gitlab group runners support (#6234) 2023-03-25 08:50:28 +01:00
hpe_test_utils.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +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 [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
rhn_conftest.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_alerta_customer.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +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_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 cpanm: using CmdRunner (#5485) 2022-11-07 20:15:00 +01:00
test_datadog_downtime.py.disabled Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_dconf.py [PR #6049/627371e2 backport][stable-6] dconf: Check for changes properly despite style of quotes used by user (#6145) 2023-03-05 11:49:43 +01:00
test_discord.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_dnsimple.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_dnsimple_info.py [PR #6439/6e913a3b backport][stable-6] dnsimple_info: remove extraneous importorskip from test (#6446) 2023-04-28 10:21:00 +02:00
test_gconftool2.py gconftool2: refactored to use ModuleHelper + CmdRunner (#5545) (#5551) 2022-11-23 07:37:27 +01:00
test_gconftool2_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_gem.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_github_repo.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +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_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_protected_branch.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_gitlab_runner.py [PR #3935/f3be0076 backport][stable-6] Add Gitlab group runners support (#6234) 2023-03-25 08:50:28 +01:00
test_gitlab_user.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_hana_query.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_homebrew.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00: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_ipa_otpconfig.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_ipa_otptoken.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_ipa_pwpolicy.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_java_keystore.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_jenkins_build.py Fix a logical flaw when deleting a build in the jenkins_build module (#5514) (#5531) 2022-11-13 17:36:34 +01:00
test_jenkins_plugin.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_keycloak_authentication.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_client.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_client_rolemapping.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_clientscope.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_identity_provider.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_realm.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_realm_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_role.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_keycloak_user_federation.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_linode.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_linode_v4.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_lxca_cmms.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_lxca_nodes.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_macports.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_maven_artifact.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_modprobe.py [PR #5424/29f50337 backport][stable-6] add persistent option for modprobe (#6102) 2023-02-26 15:37:09 +01:00
test_monit.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_nmcli.py [PR #6769/9d8bec14 backport][stable-6] nmcli: fix empty list to replace / remove values (#6868) 2023-07-06 21:37:25 +02:00
test_npm.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_ocapi_command.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_ocapi_info.py [PR #5754/59a9d342 backport][stable-6] Remote management modules for OCAPI-based devices. (#5869) 2023-01-22 17:23:28 +01:00
test_one_vm.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_datacenter_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_enclosure_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_ethernet_network.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_ethernet_network_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_fc_network.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_fc_network_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_fcoe_network.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_fcoe_network_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_logical_interconnect_group.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_logical_interconnect_group_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_network_set.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_network_set_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_san_manager.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_oneview_san_manager_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_opkg.py [PR #7154/8652fd95 backport][stable-6] Refactored unit tests for modules based on CmdRunner (#7167) 2023-08-29 13:22:08 +02:00
test_opkg.yaml [PR #7154/8652fd95 backport][stable-6] Refactored unit tests for modules based on CmdRunner (#7167) 2023-08-29 13:22:08 +02:00
test_pacman.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_pacman_key.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pagerduty.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_pagerduty_alert.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00: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 Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00: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 Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_proxmox_snap.py [PR #6980/796ad356 backport][stable-6] [proxmox] Use proxmoxer_version instead of server API version (#6984) 2023-07-20 20:51:53 +02:00
test_proxmox_tasks_info.py [PR #6980/796ad356 backport][stable-6] [proxmox] Use proxmoxer_version instead of server API version (#6984) 2023-07-20 20:51:53 +02:00
test_puppet.py [PR #6458/d254372d backport][stable-6] puppet: fix noop parameter error (#6481) 2023-05-04 08:14:19 +02:00
test_redhat_subscription.py [PR #5664/bbd68e26 backport][stable-6] redhat_subscription: require credentials only when needed (#6222) 2023-03-22 20:56:22 +01:00
test_redis_data.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_redis_data_incr.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_redis_data_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_redis_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_rhn_channel.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_rhn_register.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_rhsm_release.py [PR #6211/9f67cbbe backport][stable-6] rhsm modules: cleanly fail when not run as root (#6218) 2023-03-22 17:57:46 +00:00
test_rhsm_repository.py [PR #6758/08fa05f0 backport][stable-6] rhsm_repository: add an initial unit test (#6780) 2023-06-24 16:32:36 +02:00
test_rpm_ostree_pkg.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_sap_task_list_execute.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_sapcar_extract.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_slack.py [PR #5928/a64df658 backport][stable-6] Replace missing default favicon with docs.ansible.com favicon (#5935) 2023-02-03 11:46:40 +01: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 [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +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_wdc_redfish_command.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_wdc_redfish_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_xcc_redfish_command.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_xenserver_guest_info.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_xenserver_guest_powerstate.py [PR #5978/9f87989e backport][stable-6] Remove unnecessary test imports (#5979) 2023-02-12 21:36:32 +01:00
test_xfconf.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00:00
test_xfconf_info.py Unflatmap community.general (#5461) 2022-11-02 20:42:29 +00: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