salt/tests/unit/modules
Nicole Thomas 92ecbc3b26 Remove deprecated version of status.uptime module function (#35535)
* Remove the deprecated version of the status.uptime function.

The deprecated version of the function was set to be removed in
Carbon. The Carbon release notes were also updated with this change.

* Remove test_deprecated_uptime unit test

The deprecated version of uptime no longer exists.

* Remove unused import and deprecated uptime reference
2016-08-22 09:25:21 -06:00
..
inspectlib/tree_test Add unit test for file tree 2016-06-14 00:25:08 +02:00
zypp Update test data for 'registerrelease' and 'productline' fields 2016-07-15 17:14:27 +02:00
__init__.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
aliases_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
alternatives_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
apache_test.py Py3 compatibility 2015-01-30 22:27:06 +00:00
archive_test.py Lint 2015-09-28 11:48:51 -06:00
artifactory_test.py Changed examples to use the "example.com" domain instead of "mycompany.com" or "company.com" 2016-01-12 13:37:09 -07:00
at_test.py Update at unit tests to reflect changes in execution module 2015-10-13 10:52:59 -05:00
augeas_cfg_test.py Lint test case 2015-12-04 12:43:14 -07:00
bluez_test.py Use lists, not dicts, for MagicMock side_effect 2015-03-30 13:46:48 -06:00
boto_apigateway_test.py Remove izip import from unit.modules.boto_apigateway_test.py 2016-07-11 14:26:06 -06:00
boto_cloudtrail_test.py Don't forget the pylint disables for range 2016-06-28 16:52:37 -06:00
boto_cognitoidentity_test.py Remove repr formatting flag in places where it is used solely for quoting (#34183) 2016-06-29 16:30:18 -04:00
boto_elasticsearch_domain_test.py Remove iteritems() references from unit/modules/*.py 2016-07-19 10:18:26 -06:00
boto_elb_test.py Skip boto_elb unit tests for Py3 2016-07-21 15:05:37 -06:00
boto_iot_test.py additional unit test to cover newly introduce operations on thing type in boto_iot. 2016-08-01 14:46:56 -07:00
boto_lambda_test.py Better method to skip test. This way we can track it. 2016-08-21 21:47:08 +09:00
boto_s3_bucket_test.py Remove iteritems() references from unit/modules/*.py 2016-07-19 10:18:26 -06:00
boto_secgroup_test.py Merge branch '2015.8' into '2016.3' 2016-05-02 10:50:27 -06:00
boto_vpc_test.py INFRA-1931 - fix testcase test_that_when_describing_vpc_by_id_it_returns_the_dict_of_properties_returns_true 2016-08-16 13:43:08 -04:00
bower_test.py Implement Bower execution module 2015-02-21 05:56:20 +00:00
bridge_test.py Py3 compatibility 2015-01-30 22:27:08 +00:00
btrfs_test.py modules.btrfs unit tests: mock /proc/mounts 2016-03-10 10:57:20 -07:00
cassandra_test.py Use assertCountEqual in Python 3 to handle unsorted list returns 2016-07-21 14:33:02 -06:00
chef_test.py Py3 compatibility 2015-01-30 22:27:11 +00:00
cmdmod_test.py Py3 compatibility fixes. 2015-01-30 22:25:31 +00:00
composer_test.py composer.install module does not support always_check, only the state does. Removing the test on the module. 2015-03-11 12:19:48 -07:00
config_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
cp_test.py [develop] Merge forward from 2016.3 to develop (#33193) 2016-05-12 07:53:39 -07:00
cpan_test.py Py3 compatibility 2015-01-30 22:27:11 +00:00
cron_test.py Preserve trailing lines in crontab 2016-07-22 12:18:08 -04:00
cyg_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
daemontools_test.py Py3 compatibility 2015-01-30 22:27:07 +00:00
data_test.py Updated tests to work with code deprecations 2016-02-11 11:22:35 -07:00
ddns_test.py Pylint fix 2016-07-22 09:13:33 -06:00
deb_apache_test.py Add module and state wrappers on a2enconf/a2disconf 2015-11-05 19:07:14 +01:00
deb_postgres_test.py Don't assert against lists in Python 3 - those are converted to views 2016-07-21 14:33:02 -06:00
debconfmod_test.py Py3 compatibility 2015-01-30 22:27:11 +00:00
debian_ip_test.py Fixup test failure 2016-06-23 09:38:49 -06:00
debian_service_test.py Py3 compatibility 2015-01-30 22:27:11 +00:00
defaults_test.py Remove useless mocked unit test 2015-09-29 18:23:46 -06:00
devmap_test.py Py3 compatibility 2015-01-30 22:27:08 +00:00
dig_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
disk_test.py Move remaining blockdev func unit tests to disk unit tests and delete file 2016-08-10 16:32:14 -06:00
djangomod_test.py Py3 compatibility 2015-01-30 22:27:12 +00:00
dnsmasq_test.py Py3 compatibility 2015-01-30 22:27:11 +00:00
dnsutil_test.py Clean up open filehandles (#35359) 2016-08-11 10:45:24 -06:00
dockerio_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
dockerng_test.py Merge branch '2016.3' into 'develop' 2016-08-15 13:27:52 -06:00
dpkg_test.py Py3 compatibility 2015-01-30 22:27:13 +00:00
drac_test.py Changed 17 to 16; manually tested and verified this is correct. 2015-03-17 13:34:43 -05:00
drbd_test.py Py3 compatibility 2015-01-30 22:27:16 +00:00
environ_test.py Fixed lint issues 2015-09-01 13:56:43 +02:00
etcd_mod_test.py More pylint fixes 2016-03-15 15:50:05 -06:00
event_test.py Fix missing key in opts for event tests 2016-01-21 11:06:03 -07:00
extfs_test.py Py3 compatibility 2015-01-30 22:27:05 +00:00
file_test.py Merge branch '2015.8' into '2016.3' 2016-05-06 09:20:05 -06:00
firewalld_test.py firewalld state/module : add runtime and persist + add rich_rules + merge bind and present 2016-03-31 16:17:52 +02:00
gem_test.py Update gem unit tests to reflect changes in execution module 2015-10-13 10:52:59 -05:00
genesis_test.py modules.genesis: update unit tests for bootstrap 2015-12-07 15:19:22 -07:00
gentoo_service_test.py Gentoo/OpenRC service management enhancements (#33260) 2016-05-16 07:26:24 -07:00
git_test.py Add git.list_worktrees unit test 2016-01-21 15:42:30 -06:00
glusterfs_test.py Update glusterfs_test to be inline with #32312 2016-04-07 14:38:21 -06:00
gnomedesktop_test.py Py3 compatibility 2015-01-30 22:27:10 +00:00
grains_test.py Lint and change version added for #31673 2016-03-04 15:02:19 -07:00
groupadd_test.py Fix group-add tests for SUSE 2016-07-19 18:01:37 +02:00
grub_legacy_test.py Py3 compatibility 2015-01-30 22:27:13 +00:00
guestfs_test.py Py3 compatibility 2015-01-30 22:27:16 +00:00
hadoop_test.py Py3 compatibility 2015-01-30 22:27:13 +00:00
haproxyconn_test.py fix mocking 2015-03-19 16:56:12 +01:00
hashutil_test.py Manual merge of #24414 per thatch45 2015-06-06 07:47:52 -06:00
hg_test.py [modules/hg] hg.status: multiple repositories 2015-11-17 19:05:57 +03:00
hipchat_test.py Py3 compatibility 2015-01-30 22:27:16 +00:00
hosts_test.py salt.modules.hosts.set_host: remove entry if alias is empty 2015-08-26 20:21:45 -04:00
htpasswd_test.py Make enhancements to htpasswd modules 2015-03-13 21:18:50 +00:00
http_test.py Py3 compatibility 2015-01-30 22:27:13 +00:00
ilo_test.py Py3 compatibility 2015-01-30 23:35:22 +00:00
incron_test.py update cron and cmd tests for cron runas changes 2015-03-10 15:57:24 -06:00
influx08_test.py Rename InfluxDB states and modules for 0.8 2016-07-16 09:46:44 +02:00
ini_manage_test.py ini modules test fix 2015-08-21 16:29:30 +05:30
inspect_collector_test.py Fix broken tests: add os.mkdir mocking 2016-07-06 10:09:14 +02:00
inspect_fsdb_test.py Lintfix 2016-07-06 10:09:14 +02:00
introspect_test.py Python 3 compat for several new test files 2015-02-03 11:34:49 -07:00
ipset_test.py fixing ipset unit tests based on changes. Adding additional tests for when ip set type is hash:net 2015-08-27 08:28:23 -07:00
iptables_test.py Fix iptables target options with no arguments 2016-08-16 16:00:00 +08:00
jboss7_cli_test.py Changed examples to use the "example.com" domain instead of "mycompany.com" or "company.com" 2016-01-12 13:37:09 -07:00
jboss7_test.py Skip tests that don't work with older mock 2015-08-21 21:35:11 -05:00
k8s_test.py Remove repr formatting flag in places where it is used solely for quoting (#34183) 2016-06-29 16:30:18 -04:00
kapacitor_test.py Add support for kapacitor 0.13 (#33352) 2016-05-19 11:03:03 -07:00
key_test.py Fix failed unit test 2016-02-29 21:15:43 -07:00
keyboard_test.py Merge pull request #20349 from rallytime/develop_pylint 2015-02-04 11:58:39 +00:00
keystone_test.py Add mock exception class to keystone unit test 2015-03-31 05:56:55 -06:00
kmod_test.py update kmod exec and state module unit tests 2015-11-07 16:04:23 -07:00
launchctl_test.py readPlistFromString isn't included in plistlib for Python 3 2016-07-21 14:33:02 -06:00
ldapmod_test.py Python 3 compat and additions to ldapmod_test 2015-02-03 11:28:03 -07:00
libcloud_dns_test.py fix munged merge 2016-07-25 15:58:45 +10:00
linux_acl_test.py Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop 2015-02-23 14:25:51 -07:00
linux_lvm_test.py Add tests for thin pools in lvm module 2016-08-11 15:24:18 +02:00
linux_sysctl_test.py Fix tests that assert CommandExecutionError (#32485) 2016-04-12 08:41:25 -06:00
localemod_test.py Fix the rest of the locale tests on develop 2016-08-21 16:22:09 +09:00
locate_test.py Python 3 compat for several new test files 2015-02-03 11:34:49 -07:00
logadm_test.py Py3 compatibility 2015-01-30 23:37:36 +00:00
logrotate_test.py Python 3 compat for several new test files 2015-02-03 11:34:49 -07:00
lvs_test.py Merge #20374 with some fixes 2015-02-04 08:52:33 -07:00
mac_assistive_test.py Update mac_assistive module for El Capitan (10.11) (#33047) 2016-05-04 15:34:03 -06:00
mac_brew_test.py modules.mac_brew: update unit tests 2016-05-25 22:15:12 -06:00
mac_defaults_test.py Moved to using run_all in the absent function 2016-06-17 16:13:38 +02:00
mac_desktop_test.py Add mac_desktop integration tests 2016-03-24 17:02:53 -06:00
mac_group_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
mac_keychain_test.py Lint fixes 2016-01-29 12:34:35 +01:00
mac_package_test.py Removed possible shell injections as requested by PR feedback 2016-02-03 08:44:13 +01:00
mac_pkgutil_test.py Remove unit tests without logic 2016-03-21 17:47:34 -06:00
mac_power_test.py Fix unit tests 2016-03-21 12:15:08 -06:00
mac_sysctl_test.py Fix tests that assert CommandExecutionError (#32485) 2016-04-12 08:41:25 -06:00
mac_user_test.py Update mac_user unit tests to reflect changes in execution module 2015-10-13 10:52:59 -05:00
mac_xattr_test.py Fix unit tests 2016-03-30 08:56:49 -06:00
mdadm_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
memcached_test.py More Python 3 compat changes to new test modules 2015-02-03 11:40:27 -07:00
mine_test.py Remove useless mine tests 2016-03-14 11:35:42 -06:00
mod_random_test.py Fix mod_random test on older distros 2015-02-10 08:46:42 -07:00
modjk_test.py Properly indent comments 2015-04-21 20:35:14 -06:00
monit_test.py modules/monit: alias reload function also and fix lint issues 2015-12-01 21:42:56 +01:00
moosefs_test.py More Python 3 compat changes to new test modules 2015-02-03 11:40:27 -07:00
mount_test.py Remove test that isn't testing anything 2016-07-21 14:33:02 -06:00
munin_test.py Python 3 compat for several new test files 2015-02-03 11:34:49 -07:00
mysql_test.py Merge branch '2016.3' into 'develop' 2016-06-09 13:06:10 -06:00
nagios_test.py implemented unit test cases for nagios module 2015-02-09 19:49:14 +05:30
netscaler_test.py resolved errors. 2015-04-17 12:34:26 +05:30
network_test.py fix unit test (attempt 1) 2015-12-02 08:34:59 -07:00
neutron_test.py Fix typos of retrieve 2016-04-04 14:27:41 +02:00
nfs3_test.py Python 3 compatibility changes for develop 2015-04-02 14:04:28 -06:00
nftables_test.py Fix check_table 2016-02-20 21:32:48 -05:00
nginx_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
nova_test.py Python 3 compat fixes for develop 2015-04-17 12:00:01 -06:00
npm_test.py Fixing assumptions about results structure 2016-02-06 19:38:06 -08:00
openstack_config_test.py adding openstack_config unit test case 2015-02-17 18:17:10 +05:30
oracle_test.py Python 3 compat fixes for develop 2015-04-17 12:00:01 -06:00
pacman_test.py fix broken pacman module tests 2016-05-31 08:17:33 -05:00
pagerduty_test.py Mock config.option for pagerduty tests 2015-04-16 12:36:40 -06:00
pam_test.py Renable the pam execution module unit test 2016-07-19 16:15:12 -06:00
parallels_test.py Fix Parallels module and associated tests 2016-08-18 00:06:09 +09:00
parted_test.py modules.parted: __virtual__ return err msg. 2015-12-29 16:55:48 -03:00
pecl_test.py adding pecl unit test case. 2015-04-14 17:58:15 +05:30
pillar_test.py Use assertCountEqual instead of assertEqual for lists in Py3 2016-07-21 14:33:02 -06:00
pip_test.py update pip state and integration tests for newer pip versions (#32905) 2016-04-29 10:49:29 -07:00
pkg_resource_test.py Fix another unit test stacktrace in pkg_resource 2016-06-07 15:55:52 -06:00
pkgutil_test.py pkgutil unit test case 2015-03-09 13:16:45 +05:30
portage_config.py Wildcard support for get_flags_from_package_conf 2015-07-16 08:19:02 +12:00
postfix_test.py adding postfix unit test case 2015-04-21 17:36:07 +05:30
postgres_test.py Merge branch '2016.3' into 'develop' 2016-07-18 10:34:03 -06:00
poudriere_test.py adding poudriere unit test 2015-03-11 10:24:19 +05:30
powerpath_test.py adding powerpath unit test case 2015-04-22 17:38:44 +05:30
proxy_test.py Make sure we enable the proxy settings on windows 2016-03-15 12:02:12 +01:00
ps_test.py modules.ps unit tests: check ps __virtual__ 2016-03-10 10:57:20 -07:00
publish_test.py adding publish unit test 2015-03-27 10:52:25 +05:30
puppet_test.py Fix tests that assert CommandExecutionError (#32485) 2016-04-12 08:41:25 -06:00
pw_group_test.py modules.pw_group: mock (BSD) test to run on MacOS 2016-03-10 10:57:20 -07:00
pw_user_test.py Support unicode in all GECOS fields on FreeBSD (#32794) 2016-04-25 15:19:13 -06:00
pyenv_test.py adding pyenv unit test 2015-03-17 15:07:41 +05:30
qemu_img_test.py adding qemu_img unit test case 2015-04-23 18:13:27 +05:30
qemu_nbd_test.py adding qemu_nbd unit test 2015-03-12 10:55:36 +05:30
rabbitmq_test.py added missing whitespaces 2016-05-25 19:56:00 +02:00
raet_publish_test.py Update raet_publish unit tests to reflect changes in execution module 2015-10-13 10:52:59 -05:00
random_org_test.py modules.random_org unit tests: skip if random.org down 2016-06-08 20:46:20 -06:00
rbenv_test.py remove rbenv test that doesn't really test anything 2015-10-13 10:52:58 -05:00
rdp_test.py Add some python 3 compatibility fixes for new test files 2015-02-13 11:30:45 -07:00
redismod_test.py adding redismod unit test case. 2015-06-29 14:13:45 +05:30
reg_win_test.py Remove repr formatting flag in places where it is used solely for quoting (#34183) 2016-06-29 16:30:18 -04:00
ret_test.py adding ret unit test case 2015-02-17 18:19:04 +05:30
rh_ip_test.py PyLint problems fix 2015-07-08 16:40:57 +02:00
rh_service_test.py Update mock value to match change in #34270. 2016-07-16 14:03:37 -06:00
riak_test.py Lint riak 2015-06-17 13:03:35 -06:00
rpm_test.py Merge branch '2016.3' into 'develop' 2016-06-02 10:13:34 -04:00
rsync_test.py Rsync synchronized updates. (#32739) 2016-04-25 10:54:33 -06:00
rvm_test.py Update rvm unit tests to reflect changes in execution module 2015-10-13 10:52:59 -05:00
s3_test.py Fix s3 test for new kms_keyid parameter/return 2016-02-12 09:21:49 -07:00
s6_test.py s6 service module 2015-10-20 11:43:09 +01:00
saltcloudmod_test.py Adding saltcloudmod.py unit test 2015-03-31 15:32:49 +05:30
schedule_test.py Fix schedule_test failure 2015-10-15 14:49:26 -06:00
scsi_test.py Fix lsscsi issues for certain platforms 2016-01-27 21:15:26 -08:00
sdb_test.py adding sdb unit test case 2015-02-17 18:20:58 +05:30
seed_test.py Updated seed_test.py for changes made to seed module 2016-01-13 11:58:05 -07:00
sensors_test.py adding sensors unit test case 2015-05-08 16:11:20 +05:30
serverdensity_device_test.py Server Density agentv2 support (#32772) (#33303) 2016-05-17 09:50:36 -07:00
service_test.py [tests/unit][modules/service] add service.run, fix service.* 2015-10-31 14:42:05 +03:00
servicenow_test.py fixes for docs in servicenow module and more tests 2016-05-29 21:03:33 +10:00
shadow_test.py Py3 compatibility fixes 2015-01-30 22:25:11 +00:00
smf_test.py adding smf unit test case 2015-05-12 18:06:49 +05:30
smtp_test.py adding smtp unit test case. 2015-04-07 17:39:32 +05:30
snapper_test.py Use assertCountEqual instead of assertItemsEqual for Python 3 2016-07-21 14:33:02 -06:00
solr_test.py adding solr unit test case 2015-05-13 17:14:53 +05:30
sqlite3_test.py adding sqlite3_test unit test 2015-03-31 15:39:26 +05:30
ssh_test.py Back-port #31139 to 2015.8 (#32868) 2016-04-26 10:44:01 -06:00
state_test.py Update state unit tests to use new orchestration_jid param 2016-07-29 12:17:59 -05:00
status_test.py Remove deprecated version of status.uptime module function (#35535) 2016-08-22 09:25:21 -06:00
supervisord_test.py added requested change. 2015-03-30 17:48:29 +05:30
svn_test.py adding svn unit test case 2015-05-15 17:39:21 +05:30
swift_test.py adding swift unit test case 2015-02-17 18:09:33 +05:30
sysbench_test.py adding sysbench unit test case 2015-05-18 17:43:37 +05:30
syslog_ng_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
sysmod_test.py Add unit tests for sys.list_renderers 2016-08-10 09:13:08 +08:00
system_test.py make system.reboot use shutdown -r when available 2015-10-12 21:54:42 +02:00
systemd_test.py We need one more mocked return from listdir. 2016-02-24 10:15:00 -07:00
test_network.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
tls_test.py fix __virtual__ returns: tls,uptime mods 2015-11-04 13:10:38 -07:00
twilio_notify_test.py adding twilio_notify unit test case. 2015-04-03 14:29:49 +05:30
udev_test.py unit tests for udev execution module 2016-06-01 12:23:30 +01:00
uptime_test.py more lint 2015-03-10 10:30:49 -06:00
useradd_test.py Remove failing heavily-mocked test 2015-10-13 15:08:40 -06:00
uwsgi_test.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
varnish_test.py adding varnish unit test case 2015-05-25 16:01:02 +05:30
virt_test.py py3: fix tests/unit/modules/virt_test.py 2015-06-09 13:06:44 -06:00
virtualenv_test.py Update virtualenv unit tests to reflect changes in execution module 2015-10-13 10:52:58 -05:00
vsphere_test.py Remove unnecessary import block 2015-12-28 16:14:13 -07:00
win_autoruns_test.py adding win_autoruns unit test case 2015-02-20 19:16:09 +05:30
win_certutil_test.py Added the ability to add and remove certificates from Windows minions 2016-02-02 10:06:20 +01:00
win_disk_test.py adding win_disk unit test case. 2015-04-10 18:01:22 +05:30
win_dism_test.py fix unit tests 2016-07-26 19:46:14 +02:00
win_dns_client_test.py py3: fix tests/unit/modules/win_dns_client_test.py 2015-06-09 14:06:38 -06:00
win_firewall_test.py Merge pull request #35457 from jtand/properly_skip_win_firewall_test 2016-08-20 12:12:13 +09:00
win_groupadd_test.py depend on win libs rather than mocking them 2015-07-01 11:14:19 -06:00
win_iis_test.py Add list_apps, list_bindings, remove_site tests 2016-08-11 09:12:52 -07:00
win_ip_test.py adding win_ip unit test case. 2015-04-06 15:35:01 +05:30
win_license_test.py Lint fixes 2016-02-02 11:48:17 +01:00
win_network_test.py Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8 2015-08-25 13:55:44 -06:00
win_ntp_test.py adding win_ntp unit test case 2015-02-25 18:46:45 +05:30
win_path_test.py Fixed some tests... hopefully... 2015-09-15 16:27:47 -06:00
win_powercfg_test.py Fixed lint issues 2015-06-23 10:46:37 +02:00
win_service_test.py rewrite win_service.py (#32998) 2016-05-05 07:20:55 -07:00
win_shadow_test.py Fix broken tests 2015-12-21 11:25:18 -07:00
win_status_test.py Lint win_status 2015-06-18 14:29:19 -06:00
win_system_test.py Don't run Windows tests on Linux 2016-08-03 01:53:27 +09:00
win_timezone_test.py adding win_timezone unit test case 2015-03-03 18:46:53 +05:30
xapi_test.py Remove test that doesn't actually test anything 2016-07-21 14:33:02 -06:00
zcbuildout_test.py Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop 2015-04-21 10:42:22 -06:00
zfs_test.py Fixes failing test on Suse Leap (#34621) 2016-07-12 18:48:06 -04:00
znc_test.py adding znc unit test 2015-03-10 10:36:10 +05:30
zpool_test.py fix type in test data 2015-12-22 21:21:07 +00:00
zypper_test.py Merge branch '2016.3' into 'develop' 2016-08-18 14:37:42 -06:00