1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-21 11:19:00 +00:00
community.general/tests/unit/plugins/modules
tigattack e911081102
logrotate: fix parameter and config file validation and more (#11764)
* fix(logrotate): add missing defaults and parameter validation declarations

- Add default="present" to state parameter
- Add default="/etc/logrotate.d" to config_dir parameter
- Add required_by declarations for shred and compression parameters

* fix(logrotate): fix runtime validation bugs, remove duplicate checks

- Fix shred_cycles TypeError when value is None
- Fix enabled=None handling in get_config_path
- Remove duplicate runtime mutually_exclusive checks
- Add runtime boolean truthiness checks
- Add 'create' parameter format validation
- Remove stale test method

* fix(logrotate): restructure file operations, validate before write

- Write content to tmpdir temp file, validate, then atomic move to destination.
- Wrap all os.remove() calls in try/except with fail_json on error
- Wrap all module.atomic_move() calls in try/except with fail_json on error
- Also add self.mock_module.tmpdir = self.test_dir to test setUp for new code path

* docs(logrotate): update DOCUMENTATION block

- Add 'default: present' to state option
- Add 'default: /etc/logrotate.d' to config_dir option

* feat(logrotate): add optional backup parameter

* chore: add logrotate fixes changelog fragment

* chore(changelog/logrotate): use present tense singular

* fix(logrotate): handle trailing spaces in create param

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* refactor(logrotate): remove redundant checks

These are already handled by `required_if` statements in the module spec

* refactor(logrotate): use tempfile to create temporary file

* refactor(logrotate): remove redundant `bool()` casts on `target_enabled`

`target_enabled` is guaranteed to be bool by this point. It's either the module param (typed bool) or falls back to `current_enabled` (also bool). The `bool()` wraps are no-ops.

* refactor(logrotate): remove unused `self.config_file` attribute

* refactor(logrotate): remove dead `any_state` parameter from `read_existing_config`

* fix(logrotate): raise error instead of falling through on enabled-state rename failures

* refactor(logrotate): tighten `get_config_path` sig to bool

`None` callers are removed now so this is safe

* test(logrotate): remove stale open mock assertion after tempfile refactor

* style(logrotate): format file

* chore(logrotate): add missing `version_added` attribute

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix(logrotate): clean up temp file

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix(logrotate): remove redundant temp file cleanup

Co-authored-by: Felix Fontein <felix@fontein.de>

* refactor(logrotate): Use dict subscript to access required backup param

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix(logrotate): fix: only remove old config file when path differs from target

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix(logrotate): update logrotate_bin type hint to str

* feat(logrotate): add backup file handling when removing old config

* style(logrotate): format file

* test(logrotate): add missing backup default to `_setup_module_params`

* test(logrotate): fix incorrect `os.remove` assertion in update test

* refactor(logrotate): remove unnecessary `to_native()` call

Co-authored-by: Felix Fontein <felix@fontein.de>

* refactor(logrotate): replace str quotes with !r

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix(logrotate): change backup default back to true

* fix(logrotate): raise error when `shred_cycle`s is set with `shred=false`

* docs(logrotate): clarify `shred_cycles` behaviour

* fix(logrotate): remove to_native calls for exception messages

* docs(logrotate): improve `config_dir` param description

* refactor(logrotate): simplify backup file assignment logic

* style(logrotate): format file

* docs(logrotate): improve config_map description

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-04-17 08:44:29 +02:00
..
interfaces_file Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
conftest.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
FakeAnsibleModule.py Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
FakeXenAPI.py Reformat everything. 2025-11-01 13:46:53 +01:00
gitlab.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
hpe_test_utils.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
linode_conftest.py Reformat everything. 2025-11-01 13:46:53 +01:00
oneview_conftest.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
oneview_module_loader.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_alerta_customer.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_apache2_module.py Reformat everything. 2025-11-01 13:46:53 +01:00
test_apk.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_archive.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_bitbucket_access_key.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_bitbucket_pipeline_key_pair.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_bitbucket_pipeline_known_host.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_bitbucket_pipeline_variable.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_bootc_manage.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_campfire.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_circonus_annotation.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_composer.py composer - make create-project idempotent, add force parameter (#11689) 2026-03-28 08:17:23 +13:00
test_composer.yaml composer - make create-project idempotent, add force parameter (#11689) 2026-03-28 08:17:23 +13:00
test_cpanm.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_cpanm.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_datadog_downtime.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_dconf.py Reformat everything. 2025-11-01 13:46:53 +01:00
test_discord.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_django_check.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_django_check.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_django_command.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_django_command.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_django_createcachetable.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_django_createcachetable.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_django_dumpdata.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_django_dumpdata.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_django_loaddata.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_django_loaddata.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_dnf_config_manager.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_dnsimple.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_dnsimple_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_etcd3.py etcd3: re-enable and fix tests, add unit tests (#11678) 2026-03-25 15:55:16 +13:00
test_facter_facts.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_facter_facts.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_gconftool2.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gconftool2.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_gconftool2_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gconftool2_info.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_gem.py gem: use CmdRunner (#11733) 2026-04-12 13:12:26 +02:00
test_gio_mime.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gio_mime.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_github_repo.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_github_secrets.py github_secrets: new module (#11514) 2026-03-15 16:29:33 +01:00
test_github_secrets_info.py github_secrets_info: new module (#11586) 2026-03-16 20:14:08 +01:00
test_gitlab_deploy_key.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_group.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_group_access_token.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_hook.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_project.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_project_access_token.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_protected_branch.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_runner.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_gitlab_user.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_homebrew.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_homebrew_cask.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_icinga2_downtime.py New module icinga2_downtime (#11462) 2026-02-23 05:38:54 +01:00
test_icinga2_feature.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_ini_file.py Reformat everything. 2025-11-01 13:46:53 +01:00
test_ip2location_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_ipa_getkeytab.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_ipa_otpconfig.py Remove unittest.main() calls (#11304) 2025-12-22 15:47:42 +01:00
test_ipa_otptoken.py Remove unittest.main() calls (#11304) 2025-12-22 15:47:42 +01:00
test_ipa_pwpolicy.py Remove unittest.main() calls (#11304) 2025-12-22 15:47:42 +01:00
test_ipbase.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_java_keystore.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_jenkins_build.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_jenkins_build_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_jenkins_credential.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_jenkins_node.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_jenkins_plugin.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_authentication.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_authentication_required_actions.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_client.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_client_rolemapping.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_clientscope.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_component.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_identity_provider.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_realm.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_realm_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_realm_keys.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_realm_keys_metadata_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_realm_localization.py Add missing __future__ imports (#11567) 2026-03-11 06:42:08 +01:00
test_keycloak_role.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_user.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_user_execute_actions_email.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_user_federation.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_keycloak_userprofile.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_krb_ticket.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_krb_ticket.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_linode.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_linode_v4.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_logrotate.py logrotate: fix parameter and config file validation and more (#11764) 2026-04-17 08:44:29 +02:00
test_lvg_rename.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_lxca_cmms.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_lxca_nodes.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_lxd_storage_pool_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_lxd_storage_volume_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_macports.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_maven_artifact.py maven_artifact: resolve SNAPSHOT to latest using snapshot metadata block (#11501) 2026-02-14 21:03:00 +01:00
test_modprobe.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_monit.py monit: deprecate support for monit <= 5.18 (#11254) 2026-03-16 20:04:05 +01:00
test_monit.yaml monit: deprecate support for monit <= 5.18 (#11254) 2026-03-16 20:04:05 +01:00
test_nmcli.py nmcli: use get_best_parsable_locale() to support UTF-8 connection names (#11742) 2026-04-08 15:32:39 +02:00
test_nomad_token.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_npm.py npm: use uthelper for tests (#11639) 2026-03-22 18:32:59 +13:00
test_npm.yaml npm: use uthelper for tests (#11639) 2026-03-22 18:32:59 +13:00
test_nsupdate.py nsupdate: add unit tests (#11677) 2026-03-26 21:37:16 +01:00
test_ocapi_command.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_ocapi_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_one_vm.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_datacenter_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_enclosure_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_ethernet_network.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_ethernet_network_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_fc_network.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_fc_network_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_fcoe_network.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_fcoe_network_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_logical_interconnect_group.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_logical_interconnect_group_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_network_set.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_network_set_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_san_manager.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_oneview_san_manager_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_open_iscsi.py open_iscsi: support IPv6 portals (#11657) 2026-03-23 06:47:40 +01:00
test_open_iscsi.yaml open_iscsi: support IPv6 portals (#11657) 2026-03-23 06:47:40 +01:00
test_opkg.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_opkg.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_pacemaker_cluster.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pacemaker_cluster.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_pacemaker_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pacemaker_info.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_pacemaker_resource.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pacemaker_resource.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_pacemaker_stonith.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pacemaker_stonith.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_pacman.py pacman: add root, cachedir, and config options (#11681) 2026-03-26 11:53:11 +13:00
test_pacman_key.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pagerduty.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pagerduty_alert.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pagerduty_change.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pamd.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_parted.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pkgin.py Reformat everything. 2025-11-01 13:46:53 +01:00
test_pmem.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pritunl_org.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pritunl_org_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pritunl_user.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_pritunl_user_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_puppet.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_puppet.yaml puppet: deprecate param timeout (#11658) 2026-03-23 19:57:01 +01:00
test_redhat_subscription.py Ensure standard locale in run_command (group3-batch3) (#11741) 2026-04-08 15:21:58 +02:00
test_redis_data.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_redis_data_incr.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_redis_data_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_redis_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_rhsm_release.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_rhsm_repository.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_rpm_ostree_pkg.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_rundeck_acl_policy.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_scaleway_compute_private_network.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_scaleway_private_network.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_simpleinit_msb.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_slack.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_snap.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_solaris_zone.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_ss_3par_cpg.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_sssd_info.py add sssd_info module (#11120) 2025-12-22 15:55:28 +01:00
test_statsd.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_sysupgrade.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_terraform.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_ufw.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_usb_facts.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_wdc_redfish_command.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_wdc_redfish_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xcc_redfish_command.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xdg_mime.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xdg_mime.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
test_xenserver_guest_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xenserver_guest_powerstate.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xfconf.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xfconf.yaml xfconf: fix boolean return values (#11645) 2026-03-23 08:18:03 +13:00
test_xfconf_info.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00
test_xfconf_info.yaml Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files (#10886) 2025-10-10 19:52:04 +02:00
uthelper.py test: uthelper now generates one test function per test case (#11636) 2026-03-22 14:42:10 +13:00
utils.py Reformat everything. 2025-11-01 13:46:53 +01:00
xenserver_common.py unit tests (modules): use f-strings (#10992) 2025-10-27 11:08:33 +13:00
xenserver_conftest.py Sort imports with ruff check --fix (#11400) 2026-01-09 07:40:58 +01:00