ansible/test
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
..
ansible_test
integration docker_swarm_service: Sort lists when checking for changes (#63887) 2019-11-23 20:31:35 +01:00
legacy Sanity test fixups - AWS related tests (#64093) 2019-10-30 09:48:59 -07:00
lib/ansible_test module sanity checks: improve alias handling (#59060) 2019-11-21 15:33:27 -05:00
sanity module sanity checks: improve alias handling (#59060) 2019-11-21 15:33:27 -05:00
units docker_swarm_service: Sort lists when checking for changes (#63887) 2019-11-23 20:31:35 +01:00
utils Increase unit test timeout in CI. 2019-11-01 17:16:07 -07:00