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
Felix Fontein cf269667c1 docker_swarm_service: Sort lists when checking for changes (#63887) (#65221)
* 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>
(cherry picked from commit a096cd08c5)
6 years ago
..
amazon New module: cvs snapshots for aws (#61023) 6 years ago
cloudstack Skip tests with unsatisfied deps (#55853) 7 years ago
docker docker_swarm_service: Sort lists when checking for changes (#63887) (#65221) 6 years ago
google GCP deprecations (#53355) 7 years ago
kubevirt unit tests: remove unused imports (#60462) 6 years ago
linode Linode: Mark 'name' as required. Fixes #29785 (#44699) 7 years ago
linode_v4 Add new linode_v4 module. (#46151) 7 years ago
misc Terraform: Fix unbound local error (#57044) 7 years ago
openstack Enable additional pylint rules and resolve issues found. (#47221) 7 years ago
vmware VMware: Unit test for vmware_guest (#50140) 7 years ago
xenserver Rename xenserver_guest_facts -> xenserver_guest_info (#57032) 7 years ago
__init__.py Relocate module unit tests. (#18812) 9 years ago