ansible/test/units
Felix Fontein 73533d3fc2 docker_* modules: simplify idempotency comparisons (#47709)
* More generic comparison code from docker_container to docker_common.

* More flexibility if a is None and method is allow_to_present.

Note that this odes not affect docker_container, as there a is never None.

* Update docker_secret and docker_config: simplify labels comparison.

* Added unit tests.

* Use proper subsequence test for allow_more_present for lists.

Note that this does not affect existing code in docker_container, since lists
don't use allow_more_present. Using allow_more_present will only be possible
in Ansible 2.8.

* pep8
2018-10-30 08:50:34 +00:00
..
cli Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
executor Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
inventory_test_data/group_vars
mock Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
module_utils docker_* modules: simplify idempotency comparisons (#47709) 2018-10-30 08:50:34 +00:00
modules nmcli: Introduce VxLan (#45932) 2018-10-30 03:17:33 -04:00
parsing Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
playbook Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
plugins Revert "enhance recv calls in network_cli (#47345)" (#47731) 2018-10-29 09:50:30 +05:30
template Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
utils Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
vars Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
__init__.py
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py Run unit tests in parallel. (#45812) 2018-09-18 13:58:22 -07:00
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00