ansible/test/units
Felix Fontein c64f15ecf7 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

(cherry picked from commit 73533d3fc2)
2018-11-06 11:04:39 -08:00
..
cli Fix unit tests which modify the source tree. (#45763) 2018-10-09 18:54:41 -07:00
config [stable-2.6] Fix another corner case of too many warnings for world readable current working directory 2018-09-04 14:40:04 -07:00
contrib Update vmware_inventory (#26308) 2017-07-18 07:20:23 -04:00
errors test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
executor module_common: handle None value for templar (#36651) 2018-03-29 13:54:48 -04:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock avoid caching invetnory sources in loader (#38242) 2018-04-10 22:15:52 -04:00
module_utils docker_* modules: simplify idempotency comparisons (#47709) 2018-11-06 11:04:39 -08:00
modules [stable-2.6] Mocking out __future__ could cause problems 2018-10-16 16:04:13 -07:00
parsing [stable-2.6] Support nested JSON decoding in AnsibleJSONDecoder (#45924) 2018-09-25 14:15:44 -07:00
playbook Fix multiple var files combining (followup to #36357) 2018-07-26 17:34:27 -07:00
plugins Fix remote_tmp when become with non admin user (#42396) 2018-07-16 17:53:06 -07:00
template Remove duplicated "instead" word (#38800) 2018-04-16 09:23:43 -04:00
utils [aws unit test utils] only create a recordings directory when the env var is set (#45752) 2018-09-25 14:45:29 -07:00
vars Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py Run unit tests in parallel. (#45812) 2018-10-09 18:54:41 -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