You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
amazon Add aws_acm module (#60552) 5 years ago
cloudstack cloudstack: exoscale: fix boilerplate (#63532) 5 years ago
docker docker_swarm_service: Sort lists when checking for changes (#63887) 5 years ago
google GCP deprecations (#53355) 6 years ago
kubevirt unit tests: remove unused imports (#60462) 5 years ago
linode Linode: Mark 'name' as required. Fixes #29785 (#44699) 6 years ago
linode_v4 Add new linode_v4 module. (#46151) 6 years ago
misc Terraform: Fix unbound local error (#57044) 5 years ago
openstack Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
vmware VMware: Unit test for vmware_guest (#50140) 6 years ago
xenserver Rename xenserver_guest_facts -> xenserver_guest_info (#57032) 5 years ago
__init__.py Relocate module unit tests. (#18812) 8 years ago