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
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>
6 years ago
..
cloud docker_swarm_service: Sort lists when checking for changes (#63887) 6 years ago
crypto luks_device.py: Allow manipulate LUKS containers with label or UUID (#61603) 6 years ago
files Fixes #34893 (#40166) 8 years ago
messaging Rabbitmq user permission fixes (#49404) 7 years ago
monitoring Replace TestCase.assertEquals with TestCase.assertEqual. 6 years ago
net_tools Bug fixes to the Infoblox NIOS modules (#58521) 6 years ago
network Fortinet's new module for fortios_system_global (#64817) 6 years ago
notification Add support for hex color in slack module (#49804) 7 years ago
packaging maven_artifact.py - add support for version ranges by using spec (#54309) (#61813) 6 years ago
remote_management OneView: rename _facts -> _info (#61208) 6 years ago
source_control Move gitlab modules to own subdir (#64497) 6 years ago
storage Replace TestCase.assertEquals with TestCase.assertEqual. 6 years ago
system iptables: support wait parameter (#47877) 6 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