salt/tests/unit/modules
Adam Bolte db5456609e
Avoid warning noise in logrotate.get (#56105)
* Avoid warning noise in logrotate.get

There is no guarantee that a lookup failure is necessarily a problem,
so presenting a message to this effect as a warning has led to
confusion for some (and annoyance for others). This resolves the issue
by showing the message at the debug level.

Fixes #53988

* Adding a test for changes to logrotate.get.

* Fix pre-commit and add changelog

Co-authored-by: Gareth J. Greenaway <gareth@saltstack.com>
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2022-09-28 06:59:46 -07:00
..
inspectlib Add tests 2022-05-26 14:13:35 -04:00
nxos Fix strings 2021-08-06 13:09:47 -07:00
templates Fix regression, allow for templates without keywords specified 2021-04-21 12:29:17 -07:00
zypp
__init__.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_acme.py Fix strings 2021-08-06 13:09:47 -07:00
test_apache.py Fix strings 2021-08-06 13:09:47 -07:00
test_artifactory.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_at.py Fix strings 2021-08-06 13:09:47 -07:00
test_augeas_cfg.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_baredoc.py Support testing against system installed version (#57764) 2020-10-05 15:36:49 -07:00
test_bigip.py Merge remote-tracking branch 'upstream/3002.4' 2021-02-25 17:31:33 +00:00
test_bluez_bluetooth.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_boto3_elasticsearch.py Fix strings 2021-08-06 13:09:47 -07:00
test_boto3_route53.py fix boto3_route53 module for Python3 (#60951) 2022-01-25 10:20:30 -08:00
test_boto_apigateway.py Fix strings 2021-08-06 13:09:47 -07:00
test_boto_cloudtrail.py Fix strings 2021-08-06 13:09:47 -07:00
test_boto_cloudwatch_event.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_boto_cognitoidentity.py Fix strings 2021-08-06 13:09:47 -07:00
test_boto_elasticsearch_domain.py Fix strings 2021-08-06 13:09:47 -07:00
test_boto_elb.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_boto_iot.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_boto_lambda.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_boto_route53.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_boto_s3_bucket.py Fix strings 2021-08-06 13:09:47 -07:00
test_boto_secgroup.py Format source code using latest black 2022-08-01 12:49:16 -06:00
test_boto_vpc.py Porting PR #51498 to 2019.2.1 2022-03-17 14:32:49 -04:00
test_bower.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_bridge.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_bsd_shadow.py Fix an unterminated character set in a regex 2021-01-12 11:47:30 -07:00
test_btrfs.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_cassandra_cql.py We require mock>=3.0.0, remove unneeded static method 2021-09-22 14:01:19 -04:00
test_cassandra_mod.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_chroot.py Add regression test 2021-10-21 14:39:54 -04:00
test_composer.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_config.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_cpan.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_cron.py Move logic from states/cron into modules/cron 2022-07-19 13:23:29 -06:00
test_daemontools.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_ddns.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_deb_apache.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_deb_postgres.py Fix strings 2021-08-06 13:09:47 -07:00
test_debconfmod.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_debian_ip.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_debian_service.py Running pre-commit bits manually. 2020-10-04 19:00:20 -07:00
test_devinfo.py Fix strings 2021-08-06 13:09:47 -07:00
test_devmap.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_dig.py changed function from dig.X to dig.PTR 2022-07-28 10:46:48 -06:00
test_disk.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_djangomod.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_dnsmasq.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_dnsutil.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_dpkg_lowpkg.py Fix the test test_dpkg_lowpkg::test_info 2022-09-07 14:03:31 -06:00
test_drac.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_drbd.py Fix strings 2021-08-06 13:09:47 -07:00
test_elasticsearch.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_environ.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_esxcluster.py No need to patch __virtual__ 2020-09-25 12:23:46 +01:00
test_esxdatacenter.py No need to patch __virtual__ 2020-09-25 12:23:46 +01:00
test_event.py Fix more tests 2022-01-12 21:54:04 -08:00
test_extfs.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_firewalld.py Add tests for empty firewall-cmd output 2021-07-07 12:46:26 -04:00
test_freezer.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_gem.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_genesis.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_gentoo_service.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_glassfish.py Merge remote-tracking branch 'upstream/3002.4' 2021-02-25 17:31:33 +00:00
test_glusterfs.py Fix strings 2021-08-06 13:09:47 -07:00
test_gnomedesktop.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_google_chat.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_grub_legacy.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_guestfs.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_hadoop.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_haproxyconn.py Fix strings 2021-08-06 13:09:47 -07:00
test_hashutil.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_heat.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_helm.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_hg.py Fix strings 2021-08-06 13:09:47 -07:00
test_hosts.py Fix strings 2021-08-06 13:09:47 -07:00
test_http.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_ilo.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_incron.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_influxdb08mod.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_ini_manage.py chore(pre-commit): remove uncessary default param, include isort changes 2020-09-30 14:26:23 -07:00
test_introspect.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_iosconfig.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_jboss7.py Fix strings 2021-08-06 13:09:47 -07:00
test_jboss7_cli.py Fix strings 2021-08-06 13:09:47 -07:00
test_junos.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_k8s.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_kapacitor.py Fix strings 2021-08-06 13:09:47 -07:00
test_kernelpkg_linux_apt.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_kernelpkg_linux_yum.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_key.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_keystone.py Merge remote-tracking branch 'upstream/3002.4' 2021-02-25 17:31:33 +00:00
test_kmod.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_kubeadm.py Format source code using latest black 2022-08-01 12:49:16 -06:00
test_kubernetesmod.py Fix strings 2021-08-06 13:09:47 -07:00
test_launchctl_service.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_ldapmod.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_libcloud_compute.py Format source code using latest black 2022-08-01 12:49:16 -06:00
test_libcloud_dns.py fix: changes made by pre-commit scripts 2020-10-07 13:43:41 -07:00
test_libcloud_loadbalancer.py Format source code using latest black 2022-08-01 12:49:16 -06:00
test_libcloud_storage.py Format source code using latest black 2022-08-01 12:49:16 -06:00
test_linux_acl.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_linux_lvm.py Fix strings 2021-08-06 13:09:47 -07:00
test_linux_service.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_linux_shadow.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_localemod.py Fix strings 2021-08-06 13:09:47 -07:00
test_locate.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_logadm.py Fix strings 2021-08-06 13:09:47 -07:00
test_logrotate.py Avoid warning noise in logrotate.get (#56105) 2022-09-28 06:59:46 -07:00
test_lvs.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_memcached.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_nacl.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_nagios.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_napalm_probes.py Freeze napalm test objects 2020-08-21 16:10:55 -07:00
test_napalm_yang_mod.py Fix strings 2021-08-06 13:09:47 -07:00
test_netbox.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_netmiko_mod.py Fix to allow netmiko_mod load unless proxy and deltaproxy active 2021-06-24 13:57:27 -04:00
test_netscaler.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_network.py Fix strings 2021-08-06 13:09:47 -07:00
test_neutron.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_nexus.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_nfs3.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_nftables.py Fix strings 2021-08-06 13:09:47 -07:00
test_nginx.py Fix test failures 2021-07-06 09:04:28 -04:00
test_nilrt_ip.py modules/nilrt_ip.py: Make DNS optional in set_static_all (#58479) 2020-10-02 03:01:23 -07:00
test_nova.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_npm.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_nxos.py nxos module: Replace deprecated nxos.show 2022-04-07 13:59:47 -04:00
test_nxos_upgrade.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_openscap.py Drop Py2 and six on tests/unit/modules/test_openscap.py 2021-03-01 10:42:23 +00:00
test_openstack_config.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_opkg.py Fix strings 2021-08-06 13:09:47 -07:00
test_oracle.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_osquery.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_pagerduty.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_pam.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_parallels.py Fix strings 2021-08-06 13:09:47 -07:00
test_parted_partition.py Fix strings 2021-08-06 13:09:47 -07:00
test_pdbedit.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_pecl.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_postgres.py fixes saltstack/salt#57690 postgres privileges on views 2022-07-05 11:19:48 -07:00
test_ps.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_random_org.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_rbenv.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_rdp.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_redismod.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_reg.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_restartcheck.py Additional lint fixes 2021-09-22 14:01:19 -04:00
test_ret.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_rh_ip.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_rh_service.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_riak.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_rsync.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_rvm.py Fix strings 2021-08-06 13:09:47 -07:00
test_s3.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_s6.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_saltcheck.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_serverdensity_device.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_servicenow.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_smartos_imgadm.py Fix strings 2021-08-06 13:09:47 -07:00
test_smf_service.py Fix strings 2021-08-06 13:09:47 -07:00
test_smtp.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_snapper.py Merge 3003.3 into master (#60924) 2021-09-22 17:42:38 -07:00
test_solarisipspkg.py Fix strings 2021-08-06 13:09:47 -07:00
test_solr.py Fix up issues found in review 2021-07-06 09:04:28 -04:00
test_sqlite3.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_ssh.py Wrap long Python lines 2021-12-16 17:00:29 -05:00
test_status.py Fix strings 2021-08-06 13:09:47 -07:00
test_supervisord.py Fix strings 2021-08-06 13:09:47 -07:00
test_svn.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_swarm.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_swift.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_sysbench.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_syslog_ng.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_sysmod.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_system.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_systemd_service.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_telegram.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_timezone.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_tls.py Fix strings 2021-08-06 13:09:47 -07:00
test_tomcat.py Fix strings 2021-08-06 13:09:47 -07:00
test_tuned.py Fix strings 2021-08-06 13:09:47 -07:00
test_twilio_notify.py Update to latest `pyupgrade` hook. Stop skipping it on CI. 2022-01-26 15:18:32 -08:00
test_udev.py Fix strings 2021-08-06 13:09:47 -07:00
test_uptime.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_useradd.py move old useradd unit tests to pytest 2022-05-25 15:02:17 -07:00
test_uwsgi.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_vagrant.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_varnish.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_vault.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_virt.py Format source code using latest black 2022-08-01 12:49:16 -06:00
test_virtualenv_mod.py Fix strings 2021-08-06 13:09:47 -07:00
test_vmctl.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_vsphere.py Fix strings 2021-08-06 13:09:47 -07:00
test_webutil.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_win_groupadd.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_win_iis.py Fix strings 2021-08-06 13:09:47 -07:00
test_win_ip.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_win_lgpo.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_win_license.py Fix strings 2021-08-06 13:09:47 -07:00
test_win_pki.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_win_powercfg.py Fix strings 2021-08-06 13:09:47 -07:00
test_win_psget.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_win_service.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_win_shadow.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_win_snmp.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_win_status.py Drop Py2 and six on tests/unit/modules/test_win_status.py 2021-03-01 10:42:23 +00:00
test_win_system.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_win_task.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_win_wua.py Fix strings 2021-08-06 13:09:47 -07:00
test_win_wusa.py Fix strings 2021-08-06 13:09:47 -07:00
test_x509.py Fix strings 2021-08-06 13:09:47 -07:00
test_xapi_virt.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_xfs.py Fix xfs.py module that can no longer parse output from mkfs.xfs. 2022-09-27 12:40:01 -06:00
test_xml.py Upgrade to black 21.7b0 2021-08-06 13:09:47 -07:00
test_zcbuildout.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
test_zenoss.py Validate the zenoss module defaults to verifying SSL 2021-01-18 21:13:41 -07:00
test_znc.py Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
test_zypperpkg.py Include stdout in error message 2022-09-27 10:37:22 +01:00