ansible/test/units/module_utils
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
..
aws Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
basic Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
cloud Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
common Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
ec2 Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
facts Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
gcp Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
json_utils Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
net_tools Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
network Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
parsing
urls Fixing HTTPError case of fetch_url for Python 3 compatibility. (#45628) 2018-09-19 10:53:16 -05:00
__init__.py
conftest.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
test_database.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_distribution_version.py Fix parametrize warning in unit tests. 2018-10-05 17:29:02 -07:00
test_docker_common.py docker_* modules: simplify idempotency comparisons (#47709) 2018-10-30 08:50:34 +00:00
test_known_hosts.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_postgresql.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_text.py