ansible/test/units/modules/cloud
Michael Cassaniti a096cd08c5 docker_swarm_service: Sort lists when checking for changes (#63887)
* docker_swarm_service: Sort lists when checking for changes

When two lists are checked for changes in this module, the lists are 
reported changed when the order of the items is different. This PR 
resolves this issue.

* docker_swarm_service: Minor typo fix

* docker_swarm_service: Another minor typo

* docker_swarm_service: Should use sorted(), not sort()

* docker_swarm_service: Sort lists of dictionaries

* docker_swarm_service: Fix style issues in tests

* docker_swarm_service: Updates to integration tests

* docker_swarm_service: Casting string types within lists when comparing

* docker_swarm_service: Special handling of unordered networks with ordered aliases

* docker_swarm_service: Sorting network lists

* docker_swarm_serivce: Better unit test code coverage for lists and networks

* docker_swarm_service: Fixed coding style for sanity tests

* docker_swarm_service: More coding style fixes

* docker_swarm_service: Ignoring test for Python < 3

* docker_swarm_service: Update to version info check for backwards compatibility

* docker_swarm_service: Added change fragment #63887

* docker_swarm_service: Better handling of missing sort key for dictionary of lists

* docker_swarm_service: Preventing sorts from modifying in-place

Co-Authored-By: Felix Fontein <felix@fontein.de>

* docker_swarm_service: Removed spurious import in test

* docker_swarm_service: Preventing sorts from modifying more data in-place

Co-Authored-By: Felix Fontein <felix@fontein.de>
2019-11-23 20:31:35 +01:00
..
amazon Add aws_acm module (#60552) 2019-11-05 11:57:08 -07:00
cloudstack cloudstack: exoscale: fix boilerplate (#63532) 2019-10-19 09:37:23 +02:00
docker docker_swarm_service: Sort lists when checking for changes (#63887) 2019-11-23 20:31:35 +01:00
google GCP deprecations (#53355) 2019-04-18 15:30:27 +01:00
kubevirt unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
linode
linode_v4 Add new linode_v4 module. (#46151) 2018-11-16 12:39:05 +00:00
misc Terraform: Fix unbound local error (#57044) 2019-06-17 08:23:59 +05:30
openstack
vmware VMware: Unit test for vmware_guest (#50140) 2019-01-21 10:23:39 +05:30
xenserver Rename xenserver_guest_facts -> xenserver_guest_info (#57032) 2019-06-30 10:04:30 -04:00
__init__.py