ansible/test/units/module_utils
Felix Fontein ccdf1a61c4 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-05 10:09:12 -08:00
..
aws AnsiballZ improvements 2018-07-26 20:07:25 -07:00
basic Fix unit test parametrize order on Python 3.5. 2018-10-09 18:25:24 -07:00
cloud [cloud] Add more configurable backoff implementations to CloudRetry/AWSRetry (#27251) 2017-08-08 08:56:46 -04:00
common Provide kubernetes definition diffs in check_mode (#41471) 2018-07-11 16:32:03 +10:00
ec2 Provide kubernetes definition diffs in check_mode (#41471) 2018-07-11 16:32:03 +10:00
facts Fix pkg_mgr_name fact finding for Fedora (#40922) 2018-07-23 10:56:09 -04:00
gcp removing libcloud secrets support for legacy gcp modules (#44932) 2018-08-31 08:28:32 -04:00
json_utils Port some tests away from nose as examples (#33437) 2017-11-30 14:04:09 -08:00
net_tools Fix for updating the name in case of host record and network view and also display meaningful error in case of connection timeout (#40597) 2018-05-31 12:25:15 +05:30
network Fix ACI unit test on Python 3.7.0. 2018-09-11 15:45:21 -07:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
urls Fixing HTTPError case of fetch_url for Python 3 compatibility. (#45628) 2018-10-09 10:20:57 -07:00
__init__.py
conftest.py AnsiballZ improvements 2018-07-26 20:07:25 -07:00
test_database.py Fix unit test parametrize order on Python 3.5. 2018-10-09 18:25:24 -07:00
test_distribution_version.py Fix parametrize warning in unit tests. 2018-10-09 18:25:24 -07:00
test_docker_common.py docker_* modules: simplify idempotency comparisons (#47709) 2018-11-05 10:09:12 -08:00
test_known_hosts.py Fix unit test parametrize order on Python 3.5. 2018-10-09 18:25:24 -07:00
test_postgresql.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_text.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00