salt/tests/unit/states
Erik Johnson 5ad476936d Overhaul Docker support
This does the following:

- Splits states for container/volume/image/network management into four
  separate state modules.

- Preserves backward compatibility by making ``docker.image_present``
  invoke ``docker_image.present``, etc.

- Changes how Salt detects that a container needs to be replaced.
  Instead of comparing each passed argument to the named container's
  configuration, it creates a temporary container, and compares that
  container to the named container. If the two differ, then the older
  container is removed, and the new one is renamed and started, becoming
  the named container.

- Removes the unit tests for container management and replaces them with
  integration tests.

- Adds unit tests for the new salt.utils.docker
2017-03-21 16:53:19 -05:00
..
__init__.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
test_alias.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_alternatives.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_apache_conf.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_apache_module.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_apache_site.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_apache.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_apt.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_archive.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_artifactory.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_at.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_augeas.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_aws_sqs.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_blockdev.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_apigateway.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_asg.py Update boto_asg state file unit test mocks to account for changes in #3997 2017-03-14 14:05:20 -06:00
test_boto_cloudtrail.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_cloudwatch_alarm.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_cloudwatch_event.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_cognitoidentity.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_dynamodb.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_ec2.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_elasticache.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_elasticsearch_domain.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_elb.py Merge pull request #39725 from bodhi-space/infra4487 2017-03-01 10:02:11 -07:00
test_boto_iam_role.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_iot.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_kinesis.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_lambda.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_lc.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_route53.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_s3_bucket.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_boto_secgroup.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_sns.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_sqs.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_boto_vpc.py Use salt.utils.versions instead of distutils.version 2017-03-08 19:22:33 +00:00
test_bower.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_chef.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_cloud.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_cmd.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_composer.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_cron.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_cyg.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ddns.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_debconfmod.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_disk.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_docker_image.py Overhaul Docker support 2017-03-21 16:53:19 -05:00
test_docker_network.py Overhaul Docker support 2017-03-21 16:53:19 -05:00
test_docker_volume.py Overhaul Docker support 2017-03-21 16:53:19 -05:00
test_drac.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_environ.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_eselect.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_event.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_file.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_gem.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_glusterfs.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_gnomedesktop.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_grafana_datasource.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_grafana.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_grains.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_group.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_hg.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_hipchat.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_host.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_htpasswd.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_http.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_incron.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_influxdb08_database.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_influxdb08_user.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ini_manage.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ipmi.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ipset.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_iptables.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_jboss7.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_kapacitor.py Move whatever we need from salttesting to salt. 2017-02-28 22:52:49 +00:00
test_keyboard.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_keystone.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_kmod.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_layman.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ldap.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_libcloud_dns.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_libvirt.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_linux_acl.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_locale.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_lvm.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_lvs_server.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_lvs_service.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_lxc.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mac_assistive.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mac_defaults.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mac_keychain.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mac_package.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mac_xattr.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_makeconf.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mdadm.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_memcached.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_modjk_worker.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_modjk.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_module.py Pylint: W1699 2017-03-20 22:31:54 +01:00
test_mongodb_database.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mongodb_user.py Merge pull request #39682 from ni3mm4nd/mongodb_user 2017-03-02 10:17:38 -07:00
test_mount.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mysql_grants.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mysql_query.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_mysql_user.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_network.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_nftables.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_npm.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ntp.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_openstack_config.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_openvswitch_port.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_pagerduty.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_pecl.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_pip.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_pkgng.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_portage_config.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ports.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_cluster.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_database.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_extension.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_group.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_initdb.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_language.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_privileges.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_schema.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres_user.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_postgres.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_powerpath.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_process.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_proxy.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_pyenv.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_pyrax_queues.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_quota.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rabbitmq_cluster.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rabbitmq_plugin.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rabbitmq_policy.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rabbitmq_vhost.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rbenv.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rdp.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_redismod.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_reg.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_rvm.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_saltmod.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_schedule.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_selinux.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_serverdensity_device.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_service.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_slack.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_smtp.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_splunk_search.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ssh_auth.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_ssh_known_hosts.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_status.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_supervisord.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_svn.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_sysctl.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_syslog_ng.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_sysrc.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_test.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_timezone.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_tomcat.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_user.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_vbox_guest.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_virtualenv_mod.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_certutil.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_dism.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_dns_client.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_firewall.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_license.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_network.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_path.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_pki.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_powercfg.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_servermanager.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_snmp.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_system.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_win_update.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_winrepo.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_xmpp.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_zcbuildout.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00
test_zk_concurrency.py Absolute imports and A LOT of code cleanup. 2017-03-01 01:33:07 +00:00