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
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
..
cloud docker_swarm_service: Sort lists when checking for changes (#63887) (#65221) 6 years ago
crypto crypto modules: fix sanity errors (#60046) 6 years ago
files Fixes #34893 (#40166) 8 years ago
messaging Rabbitmq user permission fixes (#49404) 7 years ago
monitoring unit tests: remove unused imports (#60462) 6 years ago
net_tools unit tests: remove unused imports (#60462) 6 years ago
network [stable-2.9] Fix nxos_l3_interfaces module and tests (#62545) 6 years ago
notification Add support for hex color in slack module (#49804) 7 years ago
packaging Revert "maven_artifact.py - add support for version ranges by using spec (#54309)" 6 years ago
remote_management OneView: rename _facts -> _info (#61208) 6 years ago
source_control Fix typesetting of "GitLab" (#61702) 6 years ago
storage New storage/netapp module - na_ontap_kerberos_realm (#59923) 6 years ago
system Unit tests: remove unused imports (#59740) 7 years ago
web_infrastructure Python 3.8 collections compatibility fixes. 7 years ago
__init__.py Some algorithmic unittests for the apt and docker modules 10 years ago
conftest.py fix missing attribs with dirct module execution (#53875) 7 years ago
utils.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 6 years ago